aboutsummaryrefslogtreecommitdiff
path: root/onac.sh
diff options
context:
space:
mode:
Diffstat (limited to 'onac.sh')
-rwxr-xr-xonac.sh4
1 files changed, 4 insertions, 0 deletions
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
bgstack15