Created
April 13, 2025 18:15
-
-
Save theodric/35129aa2b6d291b2916051dbe47fe26f to your computer and use it in GitHub Desktop.
systemd service file to crank 2015 MacBook Air's keyboard backlight to the max during system bringup
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
[Unit] | |
Description=set MacBook Air keyboard backlight brightness to max on boot | |
After=multi-user.target | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/sh -c 'echo 255 > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness' | |
RemainAfterExit=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment