From b247f526f37871af06bf8a94d61524f2db8d85c6 Mon Sep 17 00:00:00 2001 From: Stefanie Eckner Date: Sat, 16 Mar 2024 11:34:38 +0100 Subject: send hostname, too --- computer-time-limit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/computer-time-limit b/computer-time-limit index 4b826e8..f891f25 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -21,12 +21,13 @@ fi . /etc/computer-time-limit.conf sende_msg() { + data="$(uname -n) $1" curl \ -s \ -X POST \ - --data "msg=$1" \ + --data "msg=${data}" \ --data "sig=$( - echo "$1" \ + echo "${data}" \ | signify -S -s "$2" -m /dev/stdin -x /dev/stdout \ | base64 -w0 )" \ -- cgit v1.2.3-70-g09d2