No wait by default

This commit is contained in:
2022-04-10 11:38:25 +03:00
parent a32adb2080
commit 2c3e27fa37

View File

@@ -1,8 +1,8 @@
#!/bin/bash
#Simple script to use standard DNS if Unbound (behind Adguard) is unavailable for some reason
if [[ -z $1 ]]; then
SECONDS=60
# ^ If nothing is specified, wait 60 seconds
SECONDS=0
# ^ If nothing is specified, do not wait
else
SECONDS=$1
# ^ If specified, wait however many seconds user specifies