From 725611a466f2edf12f809d22339b22223af4afe7 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 7 Oct 2006 11:57:20 +0000 Subject: move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/ntpclient/files/ntpclient.init | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 openwrt/package/ntpclient/files/ntpclient.init (limited to 'openwrt/package/ntpclient/files/ntpclient.init') diff --git a/openwrt/package/ntpclient/files/ntpclient.init b/openwrt/package/ntpclient/files/ntpclient.init deleted file mode 100644 index 3a2118420..000000000 --- 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 -- cgit v1.2.3