diff --git a/.bin/ipmi-tweety b/.bin/ipmi-tweety index d1a70ae..14a1a19 100755 --- a/.bin/ipmi-tweety +++ b/.bin/ipmi-tweety @@ -1,3 +1,3 @@ #!/bin/sh ipmitool -U ADMIN -P $(pass Local/TweetyIPMI | head -1) \ - -I lanplus -H 192.168.1.21 $@; + -I lanplus -H 10.20.30.21 $@; diff --git a/.bin/mount_tank b/.bin/mount_tank index dad2ba8..53dea85 100755 --- a/.bin/mount_tank +++ b/.bin/mount_tank @@ -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