.bashrc: PS1: Termux exception: +$SHELL; for local use.
[nethome.git] / bin / shutdown-detect
1 #! /bin/bash
2 echo "$(date --iso=seconds) shutdown $* boot=$(uptime -s) $(uptime -p)" >>/var/log/shutdown-detect.log
3 touch /var/log/shutdown-detect.ok
4 sync