testing w flag

master
RightToPrivacy 2022-09-20 02:05:05 -04:00
parent 89aff6b9f3
commit e91ef94ee7
1 changed files with 1 additions and 1 deletions

2
wipri
View File

@ -265,7 +265,7 @@ function watchdev() {
while :
do
echo -e "${BLUE} Checking $netdev For Down Status To Prevent Saved SSID Leaks${ENDCOLOR}\n"
sleep 180 # time period to wait between checks
sleep 400 # time period to wait between checks
dstatus=$(cat /sys/class/net/$netdev/operstate)
if [ "$dstatus" != "up" ]; then
echo -e "${GREEN}$netdev${ENDCOLOR} ${RED}NOT UP FOR TIMEOUT PERIOD...${ENDCOLOR}\n" && sleep .5