add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / ntpd / files / ntpd.hotplug
1 NAME=ntpd
2 CONFIG=/etc/ntp.conf
3 COMMAND=/usr/sbin/$NAME
4
5 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
6         [ -x $COMMAND ] && [ -r $CONFIG ] && {
7                 killall ntpd
8                 /etc/init.d/ntpd start
9         } &
10 }