diff --git a/README.md b/README.md index a73d976..95a1335 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,6 @@ Tested on Debian 12 bookworm # Server Tools -./gen-ip-database.sh - generate an ip pool for wireguard peers - ./wgstats.sh - show peer stats similar based on wg show all dump ./wgldap.sh - tail the log of the wgldapsync service diff --git a/init.sh b/init.sh index f2a77d7..e52bf37 100755 --- a/init.sh +++ b/init.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +if [ ! -f config ]; then + echo "] Create a config file based on config.dist" + exit 1 +fi + source config check_root() {