23 lines
1 KiB
Bash
Executable file
23 lines
1 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
cd /usr/local/bin/
|
|
|
|
for bin in donar measlat tor2 tor3 torecho udpecho; do
|
|
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/dist/${bin}?inline=false -O ${bin}
|
|
chmod +x ${bin}
|
|
done
|
|
|
|
for scr in donaralt donaraltna donaraltopt donardup donardupna donardupopt tor1wcli tor2wcli torfone torfonena torfoneopt torhs torhsna torhsopt; do
|
|
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/scripts/2021/${scr}?inline=false -O ${scr}
|
|
chmod +x ${scr}
|
|
done
|
|
|
|
cd /etc/systemd/system/
|
|
for svc in donaraltopt@.service donaralt@.service donardupopt@.service donardup@.service tor1wcli@.service tor1wserv.service tor2wcli@.service tor2wserv.service torfoneopt@.service torfone@.service torhsna@.service torhsopt@.service torhs@.service; do
|
|
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/scripts/2021/${svc}?inline=false -O ${svc}
|
|
done
|
|
|
|
cd /root
|
|
for out in donaralt donaraltna donaraltopt donardup donardupna donardupopt tor1w tor2w torfone torfonena torfoneopt torhs torhsna torhsopt; do
|
|
mkdir ${out}
|
|
done
|