include the new ntpclient init script
[openwrt/svn-archive/archive.git] / net / ntpclient / Makefile
index 1da8e57..2e36516 100644 (file)
@@ -41,6 +41,8 @@ define Package/ntpclient/install
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_CONF) ./files/ntpclient.config $(1)/etc/config/ntpclient
        $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/ntpclient.init $(1)/etc/init.d/ntpclient
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpclient $(1)/usr/sbin/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/adjtimex $(1)/usr/sbin/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/rate.awk $(1)/usr/sbin/