mirror of https://github.com/hak5/openwrt.git
change ntpclient to start after dropbear and ppp stuff and make it start as a background process
SVN-Revision: 1101lede-17.01
parent
75b3d0473e
commit
5b1a08a926
|
@ -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)
|
||||
|
|
|
@ -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 &
|
||||
|
|
Loading…
Reference in New Issue