Skip to content

Instantly share code, notes, and snippets.

@n1ywb
Created March 20, 2018 01:57
Show Gist options
  • Save n1ywb/50af54c041b80dab2a3a157dbd2626e6 to your computer and use it in GitHub Desktop.
Save n1ywb/50af54c041b80dab2a3a157dbd2626e6 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
wget http://mything.com/mything.tgz
tar xzf mything.tgz
cd mything
make all; make test; sudo make install
echo -e '#!/usr/bin/env bash\ninsmod mything.so' > /etc/rc.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment