summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-20 21:41:09 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-20 21:41:09 +0200
commit2fbde9d53e74a5ffb0404a97b7d06a82c56ea908 (patch)
tree3e53bbc86431dcde7fcabb18cdfb04db19b54730 /.local
parentupdates and new script cool (diff)
downloaddotfiles-bsd-2fbde9d53e74a5ffb0404a97b7d06a82c56ea908.tar.gz
dotfiles-bsd-2fbde9d53e74a5ffb0404a97b7d06a82c56ea908.tar.bz2
dotfiles-bsd-2fbde9d53e74a5ffb0404a97b7d06a82c56ea908.tar.xz
dotfiles-bsd-2fbde9d53e74a5ffb0404a97b7d06a82c56ea908.tar.zst
dotfiles-bsd-2fbde9d53e74a5ffb0404a97b7d06a82c56ea908.zip
gg
Diffstat (limited to '.local')
-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