diff options
Diffstat (limited to 'package/ntpclient/files')
-rw-r--r-- | package/ntpclient/files/ntpclient.init | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/package/ntpclient/files/ntpclient.init b/package/ntpclient/files/ntpclient.init deleted file mode 100644 index a8944c60eb..0000000000 --- a/package/ntpclient/files/ntpclient.init +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -case "$ACTION" in - ifup) - ps x | grep '[n]tpclient' >&- || { - route -n 2>&- | grep '^0.0.0.0' >&- && /usr/sbin/ntpclient -c 1 -s -h ${ntp_server:-pool.ntp.org} & - } - ;; - ifdown) - route -n 2>&- | grep '^0.0.0.0' >&- || killall ntpclient 2>&- >&- ;; -esac |