mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: poweroff commands
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -78,6 +78,7 @@
|
||||
"pkexec",
|
||||
"polkit",
|
||||
"portsnap",
|
||||
"poweroff",
|
||||
"pvresize",
|
||||
"radeon",
|
||||
"replicatedctl",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user