Skip to content

Instantly share code, notes, and snippets.

@vodolaz095
Created June 14, 2014 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vodolaz095/1bdc40778471e0eadf0a to your computer and use it in GitHub Desktop.
Save vodolaz095/1bdc40778471e0eadf0a to your computer and use it in GitHub Desktop.
Cjdroute install script for Fedora 20 Linux
#!/bin/sh
#cjdroute(https://github.com/cjdelisle/cjdns) install script for Fedora 20 linux
cd /home/vodolaz095/projects/cjdns
git checkout master
git pull
echo 'Source code pulled!'
/home/vodolaz095/projects/cjdns/do
su -c 'rm -f /bin/cjdroute;
cp /home/vodolaz095/projects/cjdns/cjdroute /bin/cjdroute;
chown root:root /bin/cjdroute;
chmod 775 /bin/cjdroute;systemctl restart cjdns.service;
sleep 1;
systemctl status cjdns.service;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment