From 90d54c0faaaaf14edad59185d6066c5b32273dcb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 15 Jun 2007 16:07:09 +0000 Subject: more fixes SVN-Revision: 7639 --- 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