projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: upgrade: fix initramfs detection
[openwrt/staging/dedeckeh.git]
/
package
/
base-files
/
files
/
sbin
/
sysupgrade
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index ca2eb298dccdb8053d0b69e7068691027005b976..3300d8e1ea559c5e2e696876c5f500a89c4f97e7 100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-216,7
+216,7
@@
include /lib/upgrade
do_save_conffiles() {
local conf_tar="$1"
- [
-z "$(rootfs_type)
" ] && {
+ [
"$(rootfs_type)" = "tmpfs
" ] && {
echo "Cannot save config while running from ramdisk." >&2
ask_bool 0 "Abort" && exit
rm -f "$conf_tar"