From dc06c5a51ced22eb5569ef3629065ddc7beea120 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Mon, 12 Nov 2018 14:46:12 -0500 Subject: [PATCH] Another FAT fix --- scripts/copy_settings_to_storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copy_settings_to_storage.sh b/scripts/copy_settings_to_storage.sh index e18293351..146801001 100755 --- a/scripts/copy_settings_to_storage.sh +++ b/scripts/copy_settings_to_storage.sh @@ -11,7 +11,7 @@ elif [[ "$FSTYPE" =~ "ext4" ]]; then mount -t ext4 -o noatime,nodiratime,nofail /dev/$DEVICE /tmp/smnt elif [[ "$FSTYPE" =~ "FAT" ]]; then EXTRA_ARGS="--no-perms" - mount -t ext4 -o noatime,nodiratime,exec,nofail,flush,uid=500,gid=500 /dev/$DEVICE /tmp/smnt + mount -t auto -o noatime,nodiratime,exec,nofail,flush,uid=500,gid=500 /dev/$DEVICE /tmp/smnt elif [[ "$FSTYPE" =~ "DOS" ]]; then EXTRA_ARGS="--no-perms" mount -t auto -o noatime,nodiratime,exec,nofail,flush,uid=500,gid=500 /dev/$DEVICE /tmp/smnt