Add suspend functio nfor freebsd
This commit is contained in:
@@ -66,7 +66,7 @@ run_cmd() {
|
||||
elif [[ $1 == '--reboot' ]]; then
|
||||
shutdown -r now
|
||||
elif [[ $1 == '--suspend' ]]; then
|
||||
systemctl suspend
|
||||
acpiconf -s 3
|
||||
elif [[ $1 == '--logout' ]]; then
|
||||
if [[ "$XDG_SESSION_DESKTOP" == 'openbox' ]]; then
|
||||
openbox --exit
|
||||
|
||||
Reference in New Issue
Block a user