File manager - Edit - /var/www/payraty/helpdesk/public/storage/branding_media/images/acpi.tar
Back
wakeup 0000644 00000000045 00000000000 0005723 0 ustar 00 Device S-state Status Sysfs node events/hibinit-sleep 0000644 00000000253 00000000000 0010470 0 ustar 00 # ACPID config to power down machine if powerbutton is pressed, but only if # no gnome-power-manager is running event=button/sleep.* action=/etc/acpi/actions/sleep.sh %e events/hibinit-power 0000644 00000000102 00000000000 0010505 0 ustar 00 event=button/power action=/etc/acpi/actions/hibinit-power.sh "%e" actions/sleep.sh 0000755 00000001116 00000000000 0007613 0 ustar 00 #!/bin/sh #PATH=/sbin:/bin:/usr/bin # Hibernation selects the swapfile with highest priority. Since there may be # other swapfiles configured, ensure /swap-hibinit is selected as hibernation # target by setting to maximum priority. See LP#1968805. swap_priority=32767 do_hibernate() { if [ -d /run/systemd/system ]; then systemctl hibernate else pm-hibernate swapoff /swap-hibinit fi } case "$2" in SBTN) swapon --priority=$swap_priority /swap-hibinit && do_hibernate ;; *) logger "ACPI action undefined: $2" ;; esac actions/hibinit-power.sh 0000755 00000000401 00000000000 0011257 0 ustar 00 #!/bin/sh # shut down system in a way that respects inhibitors # see: https://github.com/systemd/systemd/pull/9356 dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.PowerOff boolean:false
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings