summaryrefslogtreecommitdiff
path: root/setnet.sh
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-01-05 00:15:33 +0000
committerKatolaZ <katolaz@freaknet.org>2017-01-05 00:15:33 +0000
commit603a72e648ced831cebd9f401fe1af2a20ccac6b (patch)
tree1bfaf384bf53c9c1a0f31c6e4df60664169d5086 /setnet.sh
parent7601025d906f7a79df47f42e5009b74738d64e2e (diff)
version 0.2 releasedrelease-0.2
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