aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2021-03-20 07:06:58 +0200
committerkaotisk <kaotisk@arching-kaos.com>2021-03-20 07:06:58 +0200
commit66b4b3d61fcdc9448a6ed0d2cf35c6da0bc0cca9 (patch)
tree57dd724b03b4c553116a0f71810a879d67bbbf49
parent057a637f446b4345c3528ccae4b9bf7209aa17c2 (diff)
downloadpython-cjdns-peering-tools-66b4b3d61fcdc9448a6ed0d2cf35c6da0bc0cca9.tar.gz
python-cjdns-peering-tools-66b4b3d61fcdc9448a6ed0d2cf35c6da0bc0cca9.tar.bz2
python-cjdns-peering-tools-66b4b3d61fcdc9448a6ed0d2cf35c6da0bc0cca9.zip
Clear up, add readme infogitea/master
-rw-r--r--README.md5
-rwxr-xr-xgen.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 95f54b6..7ed523d 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,11 @@
A small collection of tools for generating and importing peering information through python scripts.
+## Requirments
+- SystemD (soon openrc compatible as well)
+- Python >3.8
+- cjdns installed
+
## Usage
On your terminal, go!
diff --git a/gen.sh b/gen.sh
index 13d3ba3..77a738f 100755
--- a/gen.sh
+++ b/gen.sh
@@ -5,7 +5,7 @@
# Futuristic way B-)
echo "gen.sh - Peering tools"
-echo "Checking for existing configuration (WARNING!! All comments will be stripped)"
+echo "Checking for existing configuration.\nBackup will be outputed on /etc/cjdroute.conf-back\n(WARNING!! All comments will be stripped)"
if [ -f /etc/cjdroute.conf ]; then
cat /etc/cjdroute.conf > /etc/cjdroute.conf-back && cat /etc/cjdroute.conf | cjdroute --cleanconf > cjdroute.conf;
else