diff options
-rwxr-xr-x | computer-time-limit | 5 |
1 files 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 )" \ |