Update 2024-10-06 20:52 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2024-10-06 20:52:27 +02:00
parent d625c0ceab
commit ba19e31b4e
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,11 @@
#!/bin/sh
if mount | fgrep '/tank/' -q
then
echo "already mounted"
exit 1
fi
awk '$3=="nfs"{print $2}' /etc/fstab \
| xargs -n1 doas mount \
| cut -d" " -f-3