git://git.jankratochvil.net
/
nethome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.muttrc.addons: +HTML view
[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