mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 12:02:25 +03:00
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
This commit is contained in:
parent
ba4a86fba5
commit
f276a41fc9
@ -27,7 +27,7 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
|
|
||||||
$(IPKG_NTPCLIENT):
|
$(IPKG_NTPCLIENT):
|
||||||
install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
|
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 -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
|
||||||
$(RSTRIP) $(IDIR_NTPCLIENT)
|
$(RSTRIP) $(IDIR_NTPCLIENT)
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/usr/sbin/ntpclient -c 1 -s -h pool.ntp.org
|
/usr/sbin/ntpclient -c 1 -s -h pool.ntp.org &
|
||||||
|
Loading…
Reference in New Issue
Block a user