aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-10 09:03:59 +0000
committerRoy Marples <roy@marples.name>2008-10-10 09:03:59 +0000
commit72dcac8c55e9994c48739f908d49889d880d8468 (patch)
tree9acc2eb7913b02bdf4a351fdf0cf8fc54fecfcff
parentd6da8e8c48feb8faf9287fc86fbbf0890c37a87c (diff)
Shorten common messages for prefixed output.
-rw-r--r--net/iwconfig.sh.BSD.in4
-rw-r--r--net/iwconfig.sh.Linux.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/iwconfig.sh.BSD.in b/net/iwconfig.sh.BSD.in
index 813fd2f4..a8e86373 100644
--- a/net/iwconfig.sh.BSD.in
+++ b/net/iwconfig.sh.BSD.in
@@ -137,7 +137,7 @@ iwconfig_associate()
case "${caps}" in
[EI]P*)
if [ "${key}" = "-" ] ; then
- ewarn "WEP key is not set for \"${SSID}\"; not connecting"
+ ewarn "WEP key is not set for \"${SSID}\""
return 1
fi
;;
@@ -145,7 +145,7 @@ iwconfig_associate()
*)
if [ "${key}" != "-" ] ; then
key="-"
- ewarn "\"${SSID}\" is not WEP enabled; ignoring setting"
+ ewarn "\"${SSID}\" is not WEP enabled"
fi
;;
esac
diff --git a/net/iwconfig.sh.Linux.in b/net/iwconfig.sh.Linux.in
index acc720e2..252605cc 100644
--- a/net/iwconfig.sh.Linux.in
+++ b/net/iwconfig.sh.Linux.in
@@ -250,12 +250,12 @@ iwconfig_associate()
SSIDVAR=$(shell_var "${SSID}")
key="$(iwconfig_get_wep_key "${mac}")"
if [ "${wep_required}" = "on" -a "${key}" = "off" ]; then
- ewarn "WEP key is not set for \"${SSID}\" - not connecting"
+ ewarn "WEP key is not set for \"${SSID}\""
return 1
fi
if [ "${wep_required}" = "off" -a "${key}" != "off" ]; then
key="off"
- ewarn "\"${SSID}\" is not WEP enabled - ignoring setting"
+ ewarn "\"${SSID}\" is not WEP enabled"
fi
if ! eval iwconfig "${IFACE}" key "${key}"; then