cancel execution of empty config
This commit is contained in:
parent
163ccbd03f
commit
1b212745de
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
5
init.sh
5
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() {
|
||||
|
|
Loading…
Reference in a new issue