asdf
This commit is contained in:
1 parent
d2fd588432
commit
6217d3f3f8
1 file changed
+11
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
grep truenas /etc/fstab | \
|
||||
while read -r line ; do
|
||||
set -- $line
|
||||
echo "FOLDER: ${1##*/}"
|
||||
doas umount /mnt/"${1##*/}" 2>/dev/null ||:
|
||||
doas mount /mnt/"${1##*/}"
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user