From 8d23357a64377d0dd315cf479ba34c7a8f5ff879 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 Jan 2013 12:48:55 +0000 Subject: [PATCH] wifitoggle: merge r35415 SVN-Revision: 35416 --- utils/wifitoggle/Makefile | 4 ++-- utils/wifitoggle/files/wifitoggle.hotplug | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/utils/wifitoggle/Makefile b/utils/wifitoggle/Makefile index abf0fc8653..b3154b69d2 100644 --- a/utils/wifitoggle/Makefile +++ b/utils/wifitoggle/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2012 OpenWrt.org +# Copyright (C) 2010-2013 OpenWrt.org # Copyright (C) 2010 segal.di.ubi.pt # # This is free software, licensed under the GNU General Public License v2. @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifitoggle PKG_VERSION:=1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 include $(INCLUDE_DIR)/package.mk diff --git a/utils/wifitoggle/files/wifitoggle.hotplug b/utils/wifitoggle/files/wifitoggle.hotplug index fdeeb742f4..174693eced 100755 --- a/utils/wifitoggle/files/wifitoggle.hotplug +++ b/utils/wifitoggle/files/wifitoggle.hotplug @@ -157,11 +157,8 @@ load_wifitoggle() { if [ "$disabled" = "1" ] then enable $1 - elif [ "$disabled" = "0" ] - then - disable else - logger -p user.err -t "wifitoggle" "device($device) not recognized" + disable fi } } -- 2.30.2