another ntpd fix in /etc/init.d/dhcpc-event
This commit is contained in:
parent
b544cb37f2
commit
fa597cbb12
@ -46,7 +46,9 @@ renew|bound)
|
||||
echo "nameserver $i" >> $RESOLV_CONF
|
||||
done
|
||||
# kill always ntpd
|
||||
killall -9 ntpd 2> /dev/null
|
||||
if test -r /var/run/ntpd.pid; then
|
||||
kill -9 $(cat /var/run/ntpd.pid) 2> /dev/null
|
||||
fi
|
||||
# notify satip init script
|
||||
echo "ok" | nc 127.0.0.1 999 2> /dev/null
|
||||
sleep 0.5
|
||||
|
Loading…
Reference in New Issue
Block a user