Added config file, improved setup and updater scripts.
This commit is contained in:
12
start.sh
12
start.sh
@@ -16,11 +16,15 @@ then
|
||||
exit
|
||||
fi
|
||||
|
||||
interval=300
|
||||
schedule=("06:00" "08:00" "10:00" "12:00" "14:00" "16:00" "18:00" "20:00")
|
||||
vpns=$(nmcli connection show | grep vpn | awk '{print $1}')
|
||||
retries=3
|
||||
webhook=''
|
||||
|
||||
config_file="config.txt"
|
||||
if [ -f "$config_file" ]; then
|
||||
source "$config_file"
|
||||
else
|
||||
echo "Config file not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while true
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user