Skip to content

Commit fd7c390

Browse files
committed
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
1 parent 581067c commit fd7c390

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

System/starts/°cutomization.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ if [ ! -e "/usr/trimui/fw_mod_done" ]; then
4646
cp /mnt/SDCARD/System/usr/trimui/scripts/MainUI_default_system.json /mnt/UDISK/system.json
4747
# sed -i "s|\"theme\":.*|\"theme\": \"/mnt/SDCARD/Themes/CrossMix - OS/\",|" "$system_json"
4848

49+
# we set the customization flag
50+
touch "/usr/trimui/fw_mod_done"
51+
sync
52+
4953
################ CrossMix-OS SD card Customization ################
5054

5155
# Sorting Themes Alphabetically
@@ -95,9 +99,6 @@ if [ ! -e "/usr/trimui/fw_mod_done" ]; then
9599
echo "Unmounting $TARGET_PARTITION..."
96100
umount $TARGET_PARTITION
97101
rmdir $MOUNT_POINT
98-
99-
touch "/usr/trimui/fw_mod_done"
100-
sync
101102
fi
102103
fi
103104

0 commit comments

Comments
 (0)