Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/49bluetooth.tar
Arrière
usr/lib64/pm-utils/sleep.d/49bluetooth 0000755 00000001230 14720760423 0013512 0 ustar 00 #!/bin/sh # IBM specific hack to disable/enable bluetooth. # TODO: Doesn't the working USB suspend/resume functionality # make this code more or less obsolete? . "${PM_FUNCTIONS}" [ -f /proc/acpi/ibm/bluetooth ] || exit $NA suspend_bluetooth() { if grep -q enabled /proc/acpi/ibm/bluetooth; then savestate ibm_bluetooth enable echo disable > /proc/acpi/ibm/bluetooth else savestate ibm_bluetooth disable fi } resume_bluetooth() { state_exists ibm_bluetooth || return restorestate ibm_bluetooth > /proc/acpi/ibm/bluetooth } case "$1" in hibernate|suspend) suspend_bluetooth ;; thaw|resume) resume_bluetooth ;; *) exit $NA ;; esac
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages