diff options
Diffstat (limited to 'setnet.sh')
-rwxr-xr-x | setnet.sh | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |