diff options
author | B Stack <bgstack15@gmail.com> | 2019-06-09 23:01:49 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-06-09 23:01:49 -0400 |
commit | 8ae5eca160cf6ba99c091d8e9f981eb1222221c1 (patch) | |
tree | af159e442fe6329c35da92fa757c551a442c1a28 /onac.sh | |
download | on-battery-time-master.tar.gz on-battery-time-master.tar.bz2 on-battery-time-master.zip |
Diffstat (limited to 'onac.sh')
-rwxr-xr-x | onac.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |