summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/sdmnt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/sdmnt b/.local/bin/sdmnt
index 4e25494..64d9ab6 100755
--- a/.local/bin/sdmnt
+++ b/.local/bin/sdmnt
@@ -1,4 +1,4 @@
#!/bin/sh -e
mkdir -p "$HOME"/sd
-mount -t msdos /dev/mmcsd0s1 "$HOME"/sd
+mount -t msdosfs -o ro /dev/mmcsd0s1 "$HOME"/sd || rmdir "$HOME"/sd