projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lftp: moved to github
[packages.git]
/
utils
/
restorefactory
/
files
/
uci_defaults_restorefactory
diff --git
a/utils/restorefactory/files/uci_defaults_restorefactory
b/utils/restorefactory/files/uci_defaults_restorefactory
index
558bbd6
..
1af088e
100755
(executable)
--- 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