change ntpclient to start after dropbear and ppp stuff and make it start as a backgro...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 May 2005 16:59:34 +0000 (16:59 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 May 2005 16:59:34 +0000 (16:59 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1101 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/ntpclient/Makefile
openwrt/package/ntpclient/files/ntpclient.init

index 31977ce..679e5fc 100644 (file)
@@ -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)
index 16a75ca..923022b 100644 (file)
@@ -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 &