X7ROOT File Manager
Current Path:
/usr/lib64/pm-utils/sleep.d
usr
/
lib64
/
pm-utils
/
sleep.d
/
📁
..
📄
00logging
(274 B)
📄
00powersave
(203 B)
📄
01grub
(1.22 KB)
📄
49bluetooth
(664 B)
📄
55NetworkManager
(1.2 KB)
📄
56dhclient
(1.77 KB)
📄
75modules
(453 B)
📄
90clock
(614 B)
📄
94cpufreq
(1.07 KB)
📄
95led
(297 B)
📄
98video-quirk-db-handler
(13.57 KB)
📄
99video
(5.53 KB)
Editing: 49bluetooth
#!/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
Upload File
Create Folder