[packages] restorefactory: directory fix

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24900 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nunojpg 2011-01-04 15:09:29 +00:00
parent eb65d6fc68
commit 379a9cc129
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ endef
define Package/restorefactory/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/button
$(INSTALL_BIN) ./files/hotplug_restorefactory $(1)/etc/hotplug.d/button/50-restorefactory
$(INSTALL_DIR) $(1)/etc/defaults
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/uci_defaults_restorefactory $(1)/etc/uci-defaults/50-restorefactory
endef

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=watchcat
PKG_VERSION:=1
PKG_RELEASE:=2
PKG_RELEASE:=3
include $(INCLUDE_DIR)/package.mk
@ -21,7 +21,7 @@ define Package/watchcat
endef
define Package/watchcat/description
Allows to configure a periodically reboot, or after loosing internet connectivity. Configured trough UCI /etc/config/system
Allows to configure a periodically reboot, or after loosing internet connectivity. Configured trough UCI /etc/config/system.
endef
define Package/watchcat/conffiles
@ -37,7 +37,7 @@ define Package/watchcat/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/watchcat.sh $(1)/usr/bin/watchcat.sh
$(INSTALL_DIR) $(1)/etc/defaults
$(INSTALL_BIN) ./files/uci_defaults_watchcat $(1)/etc/defaults/50-watchcat
$(INSTALL_BIN) ./files/uci_defaults_watchcat $(1)/etc/uci-defaults/50-watchcat
endef
$(eval $(call BuildPackage,watchcat))