From 09c5e5d415d5813f49d871dc0712212a92a695ed Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 22 Nov 2007 13:28:14 +0000 Subject: Use yesno for more robustness --- net.Linux/iwconfig.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net.Linux/iwconfig.sh') diff --git a/net.Linux/iwconfig.sh b/net.Linux/iwconfig.sh index 6aa40029..066f2581 100644 --- a/net.Linux/iwconfig.sh +++ b/net.Linux/iwconfig.sh @@ -685,7 +685,7 @@ iwconfig_configure() { iwconfig_pre_start() { # We don't configure wireless if we're being called from # the background - ${IN_BACKGROUND} && return 0 + yesno ${IN_BACKGROUND} && return 0 save_options "SSID" "" _exists || return 0 @@ -750,7 +750,7 @@ iwconfig_pre_start() { } iwconfig_post_stop() { - ${IN_BACKGROUND} && return 0 + yesno ${IN_BACKGROUND} && return 0 _exists || return 0 iwconfig_defaults iwconfig "${IFACE}" txpower off 2>/dev/null -- cgit v1.2.3