Explorar el Código

cosmetic fixes: change output script update_dnsmasq to syslog

rajven hace 3 años
padre
commit
4a7b587d69
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/update-dnsmasq

+ 1 - 1
scripts/update-dnsmasq

@@ -25,7 +25,7 @@ if [ -n "${CHANGES}" -o -n "${force}" ]; then
         #clear leases
         systemctl stop dnsmasq >/dev/null
         echo "${CHANGES}" | while read LEASE; do
-            echo "Clear ${LEASE}"
+            logger -t dhcpd "Clear ${LEASE}"
             sed -i "/${LEASE}/d" /var/lib/misc/dnsmasq.leases
         done
         systemctl start dnsmasq >/dev/null