Move scripts to bin/ directory

This commit is contained in:
2026-09-08 02:45:25 +08:00
parent 7afd4fdd0c
commit bdb089dee5
11 changed files with 0 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# returns if windows is mounted
MOUNTED="$(mount | egrep -w '^C:\\')"
if [ -z "$MOUNTED" ]; then
exit 1
fi
echo "$MOUNTED" | sed -n 's/^.* on \(.*\) type [a-zA-Z0-9_.]\+ (.*)$/\1/p'