mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-10 21:46:44 +03:00
е
This commit is contained in:
@@ -697,8 +697,9 @@ do
|
||||
ifup $INTERFACE_NAME
|
||||
|
||||
pingAddress="8.8.8.8"
|
||||
ping -c 1 -I $INTERFACE_NAME $pingAddress
|
||||
|
||||
if ping -c 1 -I $INTERFACE_NAME $pingAddress 2>&1
|
||||
if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1
|
||||
then
|
||||
isExit=1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user