Created
May 11, 2023 17:45
-
-
Save mrdev023/bb207e4f0893e53cb19c097325773635 to your computer and use it in GitHub Desktop.
Add hwdb configuration to avoid shutdown or sleeping computer when keyboard go to sleep
This file contains 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/sh | |
echo "Download last version of falchion patch" | |
wget https://raw.githubusercontent.com/mrdev023/falchion-shutdown/master/99-asus-falchion.hwdb | |
echo "Install patch" | |
mkdir -p $pkgdir/etc/udev/hwdb.d | |
cp ./99-asus-falchion.hwdb /etc/udev/hwdb.d/99-asus-falchion.hwdb | |
echo "Update hwdb" | |
systemd-hwdb update | |
echo "Clean useless files" | |
rm 99-asus-falchion.hwdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment