From 9d7806882abe44ff124017a8c0c88801c5c102ab Mon Sep 17 00:00:00 2001 From: oblique Date: Wed, 1 Oct 2014 12:11:24 +0300 Subject: [PATCH] Minor change in an output message --- create_ap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/create_ap b/create_ap index d236953..01f305a 100755 --- a/create_ap +++ b/create_ap @@ -695,10 +695,12 @@ if [[ $NO_VIRT -eq 0 ]]; then if is_wifi_connected ${WIFI_IFACE}; then WIFI_IFACE_FREQ=$(iw dev ${WIFI_IFACE} link | grep -i freq | awk '{print $2}') WIFI_IFACE_CHANNEL=$(ieee80211_frequency_to_channel ${WIFI_IFACE_FREQ}) - echo "${WIFI_IFACE} is already set at channel ${WIFI_IFACE_CHANNEL} (${WIFI_IFACE_FREQ} MHz)" + echo -n "${WIFI_IFACE} is already associated with channel ${WIFI_IFACE_CHANNEL} (${WIFI_IFACE_FREQ} MHz)" if [[ $WIFI_IFACE_CHANNEL -ne $CHANNEL ]]; then - echo "We can not set to channel ${CHANNEL}, fallback to channel ${WIFI_IFACE_CHANNEL}" + echo ", fallback to channel ${WIFI_IFACE_CHANNEL}" CHANNEL=$WIFI_IFACE_CHANNEL + else + echo fi fi