Created
June 14, 2014 19:58
-
-
Save vodolaz095/1bdc40778471e0eadf0a to your computer and use it in GitHub Desktop.
Cjdroute install script for Fedora 20 Linux
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/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