From 171557a1c1f861e4e623d2c7f7afe7c917ac5803 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 15 Jun 2007 16:07:09 +0000 Subject: more fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/sbin/hotplug-call | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/sbin/hotplug-call') diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call index 607ee2e9db..57011d1523 100755 --- a/package/base-files/files/sbin/hotplug-call +++ b/package/base-files/files/sbin/hotplug-call @@ -5,7 +5,7 @@ export HOTPLUG_TYPE="$1" # bypass the normal hotplug path for firmware loading # would otherwise cause problems with drivers like bcm43xx -[ "$HOTPLUG_TYPE" = "firmware" -a "$ACTION" = "add" ] && { +[ "firmware" = "$HOTPLUG_TYPE" -a "add" = "$ACTION" ] && { [ -f "/lib/firmware/$FIRMWARE" ] && { echo 1 > "/sys$DEVPATH/loading" cp "/lib/firmware/$FIRMWARE" "/sys$DEVPATH/data" -- cgit v1.2.3