From: Nuno Goncalves Date: Tue, 8 May 2012 16:43:51 +0000 (+0000) Subject: restorefactory, default configuration file correction X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6de3ec07ba32d1b27057999e69ab4e5626d7f262;p=openwrt%2Fsvn-archive%2Fpackages.git restorefactory, default configuration file correction SVN-Revision: 31651 --- diff --git a/utils/restorefactory/files/uci_defaults_restorefactory b/utils/restorefactory/files/uci_defaults_restorefactory index 558bbd6bd..ac7311cb6 100755 --- a/utils/restorefactory/files/uci_defaults_restorefactory +++ b/utils/restorefactory/files/uci_defaults_restorefactory @@ -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