lftp: moved to github
[packages.git] / utils / restorefactory / files / uci_defaults_restorefactory
index 558bbd6..1af088e 100755 (executable)
@@ -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