Explorar o código

cosmetic fixes: change output script update_dnsmasq to syslog

rajven %!s(int64=3) %!d(string=hai) anos
pai
achega
4a7b587d69
Modificáronse 1 ficheiros con 1 adicións e 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