Update 2024-09-27 08:24 OpenBSD/amd64-x13
This commit is contained in:
parent
da2915a7b9
commit
c8beb061e5
@ -7,7 +7,7 @@ SUBJECT="$1"
|
||||
|
||||
if [ -z "$SUBJECT" ]
|
||||
then
|
||||
SUBJECT="$(sysctl -n hw.version) - $(doas what /bsd | grep OpenBSD | cut -d"(" -f1 | tr -d '\t')"
|
||||
SUBJECT="$(sysctl -n hw.version)"
|
||||
fi
|
||||
|
||||
echo "From: $FROM"
|
||||
@ -23,5 +23,4 @@ esac
|
||||
|
||||
(dmesg; sysctl hw.version hw.model hw.sensors) | \
|
||||
mail -r $FROM -s "$SUBJECT" $TO
|
||||
|
||||
echo "sent."
|
||||
|
Loading…
Reference in New Issue
Block a user