aboutsummaryrefslogtreecommitdiffstats
path: root/package/ntpclient
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-29 16:59:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-29 16:59:34 +0000
commit3374e8d9d9da9db97c53f0b8a03d09f14fdd5eb8 (patch)
tree7e7969ad7ef6ae89acdaf5c65648063bcef69981 /package/ntpclient
parentede5687ee327d2092ec6dfe60a76a2c786116b7b (diff)
downloadupstream-3374e8d9d9da9db97c53f0b8a03d09f14fdd5eb8.tar.gz
upstream-3374e8d9d9da9db97c53f0b8a03d09f14fdd5eb8.tar.bz2
upstream-3374e8d9d9da9db97c53f0b8a03d09f14fdd5eb8.zip
change ntpclient to start after dropbear and ppp stuff and make it start as a background process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ntpclient')
-rw-r--r--package/ntpclient/Makefile2
-rw-r--r--package/ntpclient/files/ntpclient.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ntpclient/Makefile b/package/ntpclient/Makefile
index 31977ce94a..679e5fca59 100644
--- a/package/ntpclient/Makefile
+++ b/package/ntpclient/Makefile
@@ -27,7 +27,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_NTPCLIENT):
install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
- install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S41ntpclient
+ install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S60ntpclient
install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
$(RSTRIP) $(IDIR_NTPCLIENT)
diff --git a/package/ntpclient/files/ntpclient.init b/package/ntpclient/files/ntpclient.init
index 16a75ca0e5..923022bfcc 100644
--- a/package/ntpclient/files/ntpclient.init
+++ b/package/ntpclient/files/ntpclient.init
@@ -1,2 +1,2 @@
#!/bin/sh
-/usr/sbin/ntpclient -c 1 -s -h pool.ntp.org
+/usr/sbin/ntpclient -c 1 -s -h pool.ntp.org &