The command line manager for handling a cjdns installation
CAUTION: You should always review any code that you're asked to execute from curl
- in this case however, the code is the program itself - just look at the repository, if you're skeptical.
curl -LOks https://github.com/alebcay/cjdmanage/raw/master/cjdmanage && chmod +x ./cjdmanage && ./cjdmanage deployfinish
cjdmanage is a command line manager for managing cjdns
(Caleb James DeLisle's Network Suite). If you know how to use apt
on a *nix system, then you already have the basics of cjdmanage set out for you.
git
installed? Don't worry! cjdmanage can also download, install, and update with wget
or curl
instead (for that, you'll need tar
or unzip
installed though)cjdns
(through cron
)cjdmanage install
Installs the latest version of cjdns
to the subdirectory ./cjdns/
, pulled fresh from the GitHub repositorycjdmanage remove
Removes the installation of cjdns
(moves your .conf file to ./cjdroute.conf
in case you need it)cjdmanage update
Updates the copy of cjdns
located in ./cjdns/
to the latest version pulled from GitHubcjdmanage start
Starts cjdroutecjdmanage stop
Stops all instances of cjdroutecjdmanage autoupdate
Toggles the autoupdate featurecjdmanage is written as a Bash shell script. Therefore, no compilation is necessary.
See the top of the page.
$ git clone https://github.com/alebcay/cjdmanage.git $ cd cjdmanage $ chmod +x ./cjdmanage
Note: You still need to find peers on Hyperboria or elsewhere in order to get off the ground. cjdmanage (and all the money in the world) can't buy you friends.
cjdmanage-master
(you can actually rename that to whatever you want).cjdmanage
.Note: You still need to find peers on Hyperboria or elsewhere in order to get off the ground. cjdmanage (and all the money in the world) can't buy you friends.
cjdmanage is a Bash shell script, so just open it in a text editor and make whatever changes you want. Then save it and run it again.
If you care to contribute to cjdmanage, feel free to fork and send pull requests. I'll try my best to review them. If someone would like to make a GUI wrapper for this, I think it would turn out quite nice.
cjdmanage is released under the Affero GPL (AGPL). See the LICENSE file for more information.
v1.03 - Added rebase feature for cjdmanage to self-update, and one-line deploy
v1.02 - Added autoupdate feature
v1.01 - fixed critical bug regarding starting cjdns
after a config file is generated
v1.00 - initial release