|
Thursday, 31 March 2011 23:31 |
|
Here's a quick fix to enable/disable wireless using Fn+F2 on Slackware Linux on ASUS K52j and also the LED to indicate the status of the wireless.
First you need to create this file: /etc/acpi/events/etc/acpi/events/asus-wireless-switch
This file will contain the hotkey and the path to the script which is setting the wireless ON/OFF.
The /etc/acpi/events/etc/acpi/events/asus-wireless-switch content will be:
Then create another one: /etc/acpi/asus-wireless-switch.sh
With this script in it:
|