bin/heat: Accept also 12.34 (besides 12:34).
[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