Update .timer script for battery logger v2
This commit is contained in:
parent
4c33e0ce65
commit
f0b3b67c68
2 changed files with 3 additions and 3 deletions
|
@ -6,4 +6,4 @@ Wants=log_battery.timer
|
|||
User=root
|
||||
Group=root
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/log_battery.sh /org/freedesktop/UPower/devices/battery_BAT0 /home/emiliko/safe/loggers/battery/battery.csv
|
||||
ExecStart=/usr/local/bin/log_battery.sh BAT0 /home/emiliko/safe/loggers/battery/battery.csv
|
||||
|
|
|
@ -7,9 +7,9 @@ declare -r write_path="$2"
|
|||
|
||||
if [[ $# -ne 2 ]]; then
|
||||
cat <<HELP
|
||||
log_battery systemd.timer v2.0
|
||||
log_battery systemd.timer v2.1
|
||||
|
||||
USAGE: $(basename "$0") <battery-name> <csv-path>"
|
||||
USAGE: $(basename "$0") <battery-name> <csv-path>
|
||||
|
||||
EXAMPLES:
|
||||
$(basename "$0") BAT0 /home/emiliko/loggers/battery.csv
|
||||
|
|
Loading…
Reference in a new issue