summaryrefslogtreecommitdiff
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
commit5b1a08a926a4658bcaed7ddd46ab81899aae9f3b (patch)
tree0fd41523d0ad522155644d9bf0cc7a04f646ccb9
parent75b3d0473e71cacc8b5c7d2e57e6a0ca00ccd273 (diff)
downloadmtk-20170518-5b1a08a926a4658bcaed7ddd46ab81899aae9f3b.zip
mtk-20170518-5b1a08a926a4658bcaed7ddd46ab81899aae9f3b.tar.gz
mtk-20170518-5b1a08a926a4658bcaed7ddd46ab81899aae9f3b.tar.bz2
change ntpclient to start after dropbear and ppp stuff and make it start as a background process
SVN-Revision: 1101
-rw-r--r--openwrt/package/ntpclient/Makefile2
-rw-r--r--openwrt/package/ntpclient/files/ntpclient.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/ntpclient/Makefile b/openwrt/package/ntpclient/Makefile
index 31977ce..679e5fc 100644
--- a/openwrt/package/ntpclient/Makefile
+++ b/openwrt/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/openwrt/package/ntpclient/files/ntpclient.init b/openwrt/package/ntpclient/files/ntpclient.init
index 16a75ca..923022b 100644
--- a/openwrt/package/ntpclient/files/ntpclient.init
+++ b/openwrt/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 &