From fd7c39020bd950eba94cf08a781dd35c80b57c6d Mon Sep 17 00:00:00 2001 From: cizia64 Date: Fri, 14 Jun 2024 12:29:26 +0200 Subject: [PATCH] Fix settings not saved on FW 1.0.4 hotfix 9 Wifi/bluetooth/themes settings was not saved on FW 1.0.4 hotfix 9 --- "System/starts/\302\260cutomization.sh" | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git "a/System/starts/\302\260cutomization.sh" "b/System/starts/\302\260cutomization.sh" index ab33d7d1a..4b06129d2 100644 --- "a/System/starts/\302\260cutomization.sh" +++ "b/System/starts/\302\260cutomization.sh" @@ -46,6 +46,10 @@ if [ ! -e "/usr/trimui/fw_mod_done" ]; then cp /mnt/SDCARD/System/usr/trimui/scripts/MainUI_default_system.json /mnt/UDISK/system.json # sed -i "s|\"theme\":.*|\"theme\": \"/mnt/SDCARD/Themes/CrossMix - OS/\",|" "$system_json" + # we set the customization flag + touch "/usr/trimui/fw_mod_done" + sync + ################ CrossMix-OS SD card Customization ################ # Sorting Themes Alphabetically @@ -95,9 +99,6 @@ if [ ! -e "/usr/trimui/fw_mod_done" ]; then echo "Unmounting $TARGET_PARTITION..." umount $TARGET_PARTITION rmdir $MOUNT_POINT - - touch "/usr/trimui/fw_mod_done" - sync fi fi