change ntpclient to start after dropbear and ppp stuff and make it start as a background process

SVN-Revision: 1101
lede-17.01
Felix Fietkau 2005-05-29 16:59:34 +00:00
parent 75b3d0473e
commit 5b1a08a926
2 changed files with 2 additions and 2 deletions

View 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)

View 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 &