diff --git a/.bin/senddmesg b/.bin/senddmesg index 56a4d97..ed94a90 100755 --- a/.bin/senddmesg +++ b/.bin/senddmesg @@ -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."