From e3679f35ad386cc551aabb78e40af6f5777157f8 Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Tue, 8 May 2012 16:43:51 +0000 Subject: [PATCH] [packages] restorefactory, default configuration file correction SVN-Revision: 31651 --- utils/restorefactory/files/uci_defaults_restorefactory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/restorefactory/files/uci_defaults_restorefactory b/utils/restorefactory/files/uci_defaults_restorefactory index 558bbd6bd8..ac7311cb67 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 -- 2.30.2