Added systemd utils

This commit is contained in:
Wryn Wagner 2019-10-22 11:55:09 -06:00
parent c7fd2bc9ff
commit 455a30be5e
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=Enables the gmux backlighting. This is a non-standard NVIDIA issue on Macbooks
[Service]
ExecStart=/usr/bin/bash -c 'setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0; gmux_backlight 400'
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,8 @@
[Unit]
Description=Disables GPE 66, an interrupt that is going crazy on Macs
[Service]
ExecStart=/usr/bin/bash -c 'echo "disable" > /sys/firmware/acpi/interrupts/gpe16; echo "disable" > /sys/firmware/acpi/interrupts/gpe17;'
[Install]
WantedBy=multi-user.target