Update 2024-10-06 20:52 OpenBSD/amd64-t14
This commit is contained in:
parent
d625c0ceab
commit
ba19e31b4e
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ipmitool -U ADMIN -P $(pass Local/TweetyIPMI | head -1) \
|
ipmitool -U ADMIN -P $(pass Local/TweetyIPMI | head -1) \
|
||||||
-I lanplus -H 192.168.1.21 $@;
|
-I lanplus -H 10.20.30.21 $@;
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if mount | fgrep '/tank/' -q
|
||||||
|
then
|
||||||
|
echo "already mounted"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
awk '$3=="nfs"{print $2}' /etc/fstab \
|
awk '$3=="nfs"{print $2}' /etc/fstab \
|
||||||
| xargs -n1 doas mount \
|
| xargs -n1 doas mount \
|
||||||
| cut -d" " -f-3
|
| cut -d" " -f-3
|
||||||
|
Loading…
Reference in New Issue
Block a user