testing w flag
parent
89aff6b9f3
commit
e91ef94ee7
2
wipri
2
wipri
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue