fixup mac addresses on gemini boards
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index 83cc956..ecc5e9a 100755 (executable)
@@ -9,7 +9,7 @@ export VERBOSE=1
 export SAVE_CONFIG=1
 export DELAY=
 export CONF_IMAGE=
-export GZIPED=
+export GZIPED=0
 # parse options
 while [ -n "$1" ]; do 
        case "$1" in
@@ -109,5 +109,9 @@ else
 fi
 run_hooks "" $sysupgrade_pre_upgrade
 
-v "Switching to ramdisk..."
-run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
+if [ -n "$(rootfs_type)" ]; then
+       v "Switching to ramdisk..."
+       run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
+else
+       do_upgrade
+fi
This page took 0.019879 seconds and 4 git commands to generate.