From dcdd353981bd416dead7ee2dcb3013ae4fcb136f Mon Sep 17 00:00:00 2001 From: Donald Cheng Hong Zou Date: Tue, 18 Jan 2022 10:49:41 -0500 Subject: [PATCH] Removed unnecessary files --- .gitignore | 1 + .jshintrc | 6 ------ README.md | 1 - src/db/wg1.conf.backup | 26 -------------------------- src/wgd.sh | 4 ++-- 5 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 .jshintrc delete mode 100644 src/db/wg1.conf.backup diff --git a/.gitignore b/.gitignore index db9e370..629f0a3 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ release/* *.db src/db/wgdashboard.db .jshintrc +src/db \ No newline at end of file diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index 0201c21..0000000 --- a/.jshintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "globals": { - "peers": true - }, - "esversion": 7 -} \ No newline at end of file diff --git a/README.md b/README.md index 2b3f037..1353fad 100644 --- a/README.md +++ b/README.md @@ -464,7 +464,6 @@ Bug Fixed: - [jQuery](https://jquery.com) `v3.5.1` - Python - [Flask](https://pypi.org/project/Flask/) `v2.0.1` - - [TinyDB](https://pypi.org/project/tinydb/) `v4.3.0` - [ifcfg](https://pypi.org/project/ifcfg/) `v0.21` - [icmplib](https://pypi.org/project/icmplib/) `v2.1.1` - [flask-qrcode](https://pypi.org/project/Flask-QRcode/) `v3.0.0` diff --git a/src/db/wg1.conf.backup b/src/db/wg1.conf.backup deleted file mode 100644 index 22aad46..0000000 --- a/src/db/wg1.conf.backup +++ /dev/null @@ -1,26 +0,0 @@ -[Interface] -Address = 10.200.100.1/24 -PostUp = iptables -A FORWARD -i wg1 -j ACCEPT; iptables -A FORWARD -o wg1 -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE;tc qdisc add dev wg1 root tbf rate 50000kbit buffer 1600 limit 50000 -PreDown = tc qdisc del dev wg1 root -PostDown = iptables -D FORWARD -i wg1 -j ACCEPT; iptables -D FORWARD -o wg1 -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE; -ListenPort = 60945 -PrivateKey = 8DsSMli3okgUx5frKbFQ0fMW5ZMyqyxOdOW7+g21L18= - -[Peer] -PublicKey = aXsYmR73LEuwVOJeqUjlsWbWPyvJPm3lg3zh7WkruWg= -PresharedKey = GISQ6z6GMLocJQgdYOfi2XX7NQWkZBPPFiueRYLqnJE= -AllowedIPs = 10.200.100.2/32 - -[Peer] -PublicKey = FxXXNXoKZcBNyZbq0nFsmBC5YM+7up3a4bYGU6q900w= -PresharedKey = dqp44vullLVZQhIYE2VaY6WFQNfahnHum5kq3sWPsSc= -AllowedIPs = 10.200.100.3/32 - - - - - -[Peer] -PublicKey = FxXXNXoKZcBNyZbq0nFsmBC5YM+7up3a4bYGU6q900w= -PresharedKey = dqp44vullLVZQhIYE2VaY6WFQNfahnHum5kq3sWPsSc= -AllowedIPs = 10.200.100.3/32 \ No newline at end of file diff --git a/src/wgd.sh b/src/wgd.sh index c447ae0..896a9a8 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -61,8 +61,8 @@ install_wgd(){ python3 -m pip install -U pip > /dev/null 2>&1 printf "| Installing latest Python dependencies |\n" python3 -m pip install -U -r requirements.txt > /dev/null 2>&1 - printf "| WGDashboard installed successfully! |\n" - printf "| Enter ./wgd start to start the dashboard |\n" + printf "| WGDashboard installed successfully! |\n" + printf "| Enter ./wgd.sh start to start the dashboard |\n" }