Skip to content

Commit

Permalink
another ntpd fix in /etc/init.d/dhcpc-event
Browse files Browse the repository at this point in the history
  • Loading branch information
perexg committed Sep 17, 2018
1 parent b544cb3 commit fa597cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs-add/etc/init.d/dhcpc-event
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa597cb

Please sign in to comment.