[packages] restorefactory: update to release 5

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24910 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nunojpg 2011-01-05 15:34:05 +00:00
parent 459215b85d
commit 237ecea9eb
2 changed files with 10 additions and 6 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restorefactory
PKG_VERSION:=1
PKG_RELEASE:=3
PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk

View File

@ -1,6 +1,10 @@
#!/bin/sh
uci add system restorefactory
uci set system.@restorefactory[0].button=reset
uci set system.@restorefactory[0].action=pressed
uci set system.@restorefactory[0].timeout=5
uci commit
[ -n "$(uci -q show system.@restorefactory[0])" ] || {
uci add system restorefactory
uci set system.@restorefactory[0].button=reset
uci set system.@restorefactory[0].action=pressed
uci set system.@restorefactory[0].timeout=5
uci commit
}