From 600d29f61e778d0a29a460d85726a7b1c0fb89e0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Jul 2007 18:46:57 +0000 Subject: [PATCH] fix an error message SVN-Revision: 8109 --- package/base-files/files/sbin/wifi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 0d26468ba2..51e10af103 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -82,6 +82,8 @@ set_wifi_up() { set_wifi_down() { local cfg="$1" local vifs vif vifstr + [ -f /var/state/wireless ] || return + config_get vifs "$cfg" vifs for vif in $vifs; do append vifstr "$vif" "|" -- 2.25.1