check sd card after free_resources (#827)

pull/830/head
cronyx 2023-05-27 17:57:29 +03:00 committed by GitHub
parent 67bd82351f
commit 0dabee3c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# OpenIPC.org | v.20230520
#
scr_version=1.0.19
scr_version=1.0.20
args=" $@"
@ -355,11 +355,10 @@ if [ "1" = "$update_webui" ]; then
fi
fi
[ "1" != "$skip_unmount" ] && check_sdcard
create_lock
free_resources
[ "1" != "$skip_unmount" ] && check_sdcard
[ "1" = "$remote_update" ] && download_firmware
[ "1" = "$update_kernel" ] && do_update_kernel "$kernel_file"
[ "1" = "$update_rootfs" ] && do_update_rootfs "$rootfs_file"