From 8ae5eca160cf6ba99c091d8e9f981eb1222221c1 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 9 Jun 2019 23:01:49 -0400 Subject: initial commit --- onac.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 onac.sh (limited to 'onac.sh') diff --git a/onac.sh b/onac.sh new file mode 100755 index 0000000..93ba4a8 --- /dev/null +++ b/onac.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# File: /usr/local/bin/onac.sh +# the hash-bang is vital for eudev to be able to execute this script. +date -u "+$( hostname -s ) %s %FT%TZ now using utility power" >> /var/log/battery.log -- cgit