projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc26da
)
luci-addons: Fixed keeping of configuration files in luci-flash
author
Steven Barth
<steven@midlink.org>
Sun, 3 Aug 2008 09:52:12 +0000
(09:52 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 3 Aug 2008 09:52:12 +0000
(09:52 +0000)
contrib/package/luci-addons/dist/sbin/luci-flash
patch
|
blob
|
history
diff --git
a/contrib/package/luci-addons/dist/sbin/luci-flash
b/contrib/package/luci-addons/dist/sbin/luci-flash
index 3ff478f0f522f9e1094e8152f21e623c0f5feaea..d58561e6f141271219bc44a2b27f539cef350943 100755
(executable)
--- a/
contrib/package/luci-addons/dist/sbin/luci-flash
+++ b/
contrib/package/luci-addons/dist/sbin/luci-flash
@@
-12,6
+12,7
@@
while [ -n "$1" ]; do
case "$1" in
-k)
shift
+ export SAVE_CONFIG=1
export KEEP_PATTERN="$1"
;;
-*)
@@
-85,4
+86,4
@@
done
run_hooks "" $sysupgrade_pre_upgrade
v "Switching to ramdisk..."
-run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
\ No newline at end of file
+run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'