diff --git a/fs-add/etc/init.d/dhcpc-event b/fs-add/etc/init.d/dhcpc-event index 2b1aea11..7baab6a1 100755 --- a/fs-add/etc/init.d/dhcpc-event +++ b/fs-add/etc/init.d/dhcpc-event @@ -30,7 +30,6 @@ renew|bound) logger -p local0.notice "DHCP IPv4 changed, killing minisatip" rm -f /tmp/satip-network killall -9 minisatip 2> /dev/null - killall -9 ntpd 2> /dev/null fi ifconfig $interface $ip $BROADCAST $NETMASK if test -n "$router" ; then @@ -46,6 +45,8 @@ renew|bound) for i in $dns ; do echo "nameserver $i" >> $RESOLV_CONF done + # kill always ntpd + killall -9 ntpd 2> /dev/null # notify satip init script echo "ok" | nc 127.0.0.1 999 2> /dev/null sleep 0.5