diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-01 05:10:55 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-01 05:10:55 +0300 |
commit | a40e07d1ef1d5b57973630715cecc489925b12c5 (patch) | |
tree | 9fbeb743405184b33d5f4a6d3a67648abf3bcf59 /cjdns-full-installer.sh | |
parent | 98af59585b378fddfb135a28ca499fa23df8d0ac (diff) | |
download | arching-kaos-tools-a40e07d1ef1d5b57973630715cecc489925b12c5.tar.gz arching-kaos-tools-a40e07d1ef1d5b57973630715cecc489925b12c5.tar.bz2 arching-kaos-tools-a40e07d1ef1d5b57973630715cecc489925b12c5.zip |
new: ak cjdns --help - cjdns helper
Diffstat (limited to 'cjdns-full-installer.sh')
-rwxr-xr-x | cjdns-full-installer.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/cjdns-full-installer.sh b/cjdns-full-installer.sh deleted file mode 100755 index b9ab3cf..0000000 --- a/cjdns-full-installer.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -source "$HOME/.cargo/env" -git clone https://github.com/cjdelisle/cjdns -cd cjdns -./do -if [ $? -ne 0 ] -then - echo "Failed to compile cjdns" - exit 1 -fi -cd .. - -# Copy binaries to /usr/bin -sudo cp cjdns/cjdroute /usr/bin/ -sudo cp cjdns/target/release/makekeys /usr/bin/ -sudo cp cjdns/target/release/mkpasswd /usr/bin/ -sudo cp cjdns/target/release/privatetopublic /usr/bin/ -sudo cp cjdns/target/release/publictoip6 /usr/bin/ -sudo cp cjdns/target/release/randombytes /usr/bin/ -sudo cp cjdns/target/release/sybilsim /usr/bin/ - -# Copy cjdns tools to $AK_WORKDIR/bin -ln -s `realpath cjdns/tools/dumpLinks` ~/.arching-kaos/bin/dumpLinks -ln -s `realpath cjdns/tools/cexec` ~/.arching-kaos/bin/cjdns-cexec -ln -s `realpath cjdns/tools/peerStats` ~/.arching-kaos/bin/peerStats - -# Systemd setup -sudo cp cjdns/contrib/systemd/cjdns.service /etc/systemd/system/ -sudo cp cjdns/contrib/systemd/cjdns-resume.service /etc/systemd/system -sudo systemctl enable --now cjdns.service - -# TODO Or openrc |