aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/package/ntpclient/files/ntpclient.init
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
commitd58a09110ccfa95f06c983fe796806f2e035c9d2 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/ntpclient/files/ntpclient.init
parentaf034797eeb62b62ac05442d5a688b28ccd0f16b (diff)
downloadupstream-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.gz
upstream-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.bz2
upstream-d58a09110ccfa95f06c983fe796806f2e035c9d2.zip
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
SVN-Revision: 4944
Diffstat (limited to 'openwrt/package/ntpclient/files/ntpclient.init')
-rw-r--r--openwrt/package/ntpclient/files/ntpclient.init11
1 files changed, 0 insertions, 11 deletions
diff --git a/openwrt/package/ntpclient/files/ntpclient.init b/openwrt/package/ntpclient/files/ntpclient.init
deleted file mode 100644
index 3a21184202..0000000000
--- a/openwrt/package/ntpclient/files/ntpclient.init
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-ntp_server=$(nvram get ntp_server)
-case "${ACTION:-ifup}" in
- ifup)
- ps x | grep 'bin/[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