Created
March 10, 2025 23:12
-
-
Save n-at-han-k/4ac7acb783d6e68880cf10cd7ef25d45 to your computer and use it in GitHub Desktop.
Script to enable keyboard backlight on Apple Macbook Air (Intel)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set +o noclobber | |
| modprobe applesmc | |
| echo 10 > /sys/class/leds/smc::kbd_backlight/brightness | |
| set -o noclobber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment