feat: poweroff commands

This commit is contained in:
Michele Cereda
2023-05-13 17:10:03 +02:00
parent 5a876a42b5
commit eb1cae2768
2 changed files with 10 additions and 0 deletions

View File

@@ -78,6 +78,7 @@
"pkexec",
"polkit",
"portsnap",
"poweroff",
"pvresize",
"radeon",
"replicatedctl",

View File

@@ -80,6 +80,15 @@ pkg install -y 'zsh' 'zsh-autosuggestions'
# Check for known vulnerabilities in *installed* applications.
pkg audit -F
pkg audit -Fr 'sqlite'
# *Gently* reboot the system.
shutdown -r now
shutdown -r +30 "System will reboot"
# *Gently* shutdown the system.
# `poweroff` is equivalent to `shutdown -p now`.
shutdown -p +5
poweroff
```
## Utilities worth noting