Closed tsaavik closed 12 years ago
Awesome, thanks!
@tsaavik can you review README and let me know if it's right, assuming all user needs to do is run ./autopair.sh ?
That should do it! I only have access to 1 machine with a unified receiver (Ubuntu 12.04lts), but should work everywhere :smile:
That is...Interesting. the [[ test syntax has been available in Bash since version 2.0 released Dec 31st 1996 (had to go check, lol).
I guess it is possible they put 'sh' in-front of the bash script call out of (bad) habit.
ok, so should work for most people as is? Assuming they're using a bash shell from this century? ;)
Yeah, even if they are not running bash, the script has a sha-bang call to bash at the top.
Added a helper script for folks that are not as technical.
It will automatically compile the binary (if needed) mark it executable (if needed) find the Logitech device in hidraw run the script with additional prompting (turn off device first)