summaryrefslogtreecommitdiff
path: root/setnet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setnet.sh')
-rwxr-xr-xsetnet.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/setnet.sh b/setnet.sh
index b15ec25..a352b44 100755
--- a/setnet.sh
+++ b/setnet.sh
@@ -47,7 +47,7 @@ DIALOG="dialog --backtitle \"${TOPSTR}\" "
## the script will exit
##
-HARD_DEPS="ip dhclient dialog netstat"
+HARD_DEPS="ip dhclient dialog iwconfig"
##
## Suggested dependencies. The script will issue a warning if any of
@@ -1285,7 +1285,7 @@ netdiag_routes(){
HAS_NETSTAT=$(echo ${HAS_OPTS} | grep -c " netstat ")
if [ ${HAS_NETSTAT} -ne 1 ]; then
- notfound "nestat"
+ notfound "netstat"
return
fi
@@ -1333,7 +1333,7 @@ netdiag_connections(){
HAS_NETSTAT=$(echo ${HAS_OPTS} | grep -c " netstat ")
if [ ${HAS_NETSTAT} -ne 1 ]; then
- notfound "nestat"
+ notfound "netstat"
return
fi
@@ -1362,7 +1362,7 @@ netdiag_services(){
HAS_NETSTAT=$(echo ${HAS_OPTS} | grep -c " netstat ")
if [ ${HAS_NETSTAT} -ne 1 ]; then
- notfound "nestat"
+ notfound "netstat"
return
fi
@@ -1469,7 +1469,6 @@ netdiag_query(){
kill -9 ${QUERYPID}
fi
fi
-
}
##function