mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-13 08:20:07 +00:00
change ntpclient to start after dropbear and ppp stuff and make it start as a background process
SVN-Revision: 1101
This commit is contained in:
parent
75b3d0473e
commit
5b1a08a926
@ -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