diff options
Diffstat (limited to 'mods/mod_hakchi/hakchi/rootfs/bin/hsqs')
-rwxr-xr-x | mods/mod_hakchi/hakchi/rootfs/bin/hsqs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mods/mod_hakchi/hakchi/rootfs/bin/hsqs b/mods/mod_hakchi/hakchi/rootfs/bin/hsqs index 800c4567..041654fc 100755 --- a/mods/mod_hakchi/hakchi/rootfs/bin/hsqs +++ b/mods/mod_hakchi/hakchi/rootfs/bin/hsqs @@ -6,7 +6,7 @@ echo "current firmware: $(currentFirmware)" printSoftwareInfo firmware="$1" -if [ "$firmware" != "_nand_" ]; then +if [ "$firmware" != "auto" ] && [ "$firmware" != "_nand_" ]; then firmware="$(echo "$firmware" | sed -re 's/^\/usr\/share\/games\/(nes\/kachikachi\/)?/\/var\/games\//')" firmware="$(readlink -f "$firmware")" checkFirmware "$firmware" || exit 1 @@ -17,6 +17,7 @@ cfg_firmware="$firmware" save_config [ "$(currentFirmware)" == "$firmware" ] && exit 0 +[ "$(currentFirmware)" == "auto" ] && exit 0 #? echo "changing firmware to: $firmware" reboot |