diff --git a/openwrt/package/ntpclient/Makefile b/openwrt/package/ntpclient/Makefile index 31977ce94..679e5fca5 100644 --- a/openwrt/package/ntpclient/Makefile +++ b/openwrt/package/ntpclient/Makefile @@ -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) diff --git a/openwrt/package/ntpclient/files/ntpclient.init b/openwrt/package/ntpclient/files/ntpclient.init index 16a75ca0e..923022bfc 100644 --- a/openwrt/package/ntpclient/files/ntpclient.init +++ b/openwrt/package/ntpclient/files/ntpclient.init @@ -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 &