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/bash | |
## This script is to be used with the twilly cm108 cli utility found here: https://github.com/twilly/cm108. | |
## I found that in order to correctly compile this program I needed to use the cc command instead of make. | |
## The commands I used to make this work are as follows. | |
## sudo apt-get install libudev-dev git | |
## git clone https://github.com/twilly/cm108.git #this clones the utility into your present working directory | |
## cd cm108 | |
## cc cm108.o -o cm108 -ludev | |
## sudo make install #this will place the compiled program into your /usr/local/bin for use in your default path. |