From ba19e31b4eca36fdc1924cd66106641253ec809f Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Sun, 6 Oct 2024 20:52:27 +0200 Subject: [PATCH] Update 2024-10-06 20:52 OpenBSD/amd64-t14 --- .bin/ipmi-tweety | 2 +- .bin/mount_tank | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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