mirror of
https://github.com/novatiq/packages.git
synced 2026-07-28 22:43:06 +01:00
path to the binary. Fix the path. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Peter Wagner <tripolar@gmx.at>
11 lines
204 B
Plaintext
11 lines
204 B
Plaintext
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
|
|
} &
|
|
}
|