No wait by default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user