[packages] restorefactory, default configuration file correction

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31651 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nunojpg 2012-05-08 16:43:51 +00:00
parent 5949a2e0ea
commit f456cd6ded

View File

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