Created
October 22, 2017 20:14
-
-
Save 0xded093/645c9ed4bf90b24c602cdee5b36aa8c8 to your computer and use it in GitHub Desktop.
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/sh | |
until ["ls /dev/ttyUSB0" & pgrep gimx] | |
do | |
/bin/ln -s "/dev/ttyAMA0" "/dev/ttyUSB0" | |
sleep 1 | |
/usr/bin/gimx -c "LogitechG25_W10_G29.xml" -p "/dev/ttyUSB0" | |
sleep 1 | |
done | |
echo "Gimx avviato!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment