more verbose update reboot

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2020-11-01 00:45:46 +01:00
parent ff78b6a1a4
commit b5a08d0bdb
1 changed files with 2 additions and 1 deletions

View File

@ -50,9 +50,10 @@ mount_share () {
# Create the directory structure if required
(cd /mnt; mkdir -p "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
# Check if there is an updte file
# Check if there is an update file
if [ -f /mnt/FunKey-*.swu ]; then
warn "found an update file, going into recovery mode"
notif "^^^^^^^^ UPDATING...^^^^^^^^"
recovery_mode
fi
return 0