Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
acpid
thinkpad_handler
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thinkpad_handler of Package acpid
#!/bin/bash HOTKEY=$1 set $HOTKEY EVENT=$1 # "ibm/hotkey" ACPI=$2 # "HOTK" WHAT=$3 # "00000080" SERIAL=$4 # "0000100c" Fn+F12 # bluetooth if [ "$WHAT" = "00000080" -a "$SERIAL" = "00001005" ]; then ACTION="disable" grep -q "disabled" "/proc/acpi/ibm/bluetooth" && ACTION="enable" echo $ACTION > "/proc/acpi/ibm/bluetooth" fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor