Minor fixes and improvements.
This commit is contained in:
parent
2e0ffda273
commit
b62498da3a
5 changed files with 10 additions and 3 deletions
|
@ -6,7 +6,7 @@ set -eu
|
|||
|
||||
action="systemctl poweroff"
|
||||
uptime=$(cat /proc/uptime | cut -f1 -d.)
|
||||
maxidle=3600
|
||||
maxidle=3600 ## seconds
|
||||
|
||||
u=($(loginctl list-users --no-legend | sort -hr | head -1))
|
||||
una=${u[1]:-''}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue