path to the binary. Fix the path. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Peter Wagner <tripolar@gmx.at>
10 lines
204 B
Text
10 lines
204 B
Text
NAME=ntpd
|
|
CONFIG=/etc/ntp.conf
|
|
COMMAND=sbin/$NAME
|
|
|
|
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
|
|
[ -x $COMMAND ] && [ -r $CONFIG ] && {
|
|
killall ntpd
|
|
/etc/init.d/ntpd start
|
|
} &
|
|
}
|