move the drift file to /tmp since it gets written a fair amount, bump release and...
[openwrt/svn-archive/archive.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 }