From b1085ec8e30ba9f79eeacdd35c98f9a06a64eabc Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 6 Apr 2009 09:09:01 +0000 Subject: fix firmware helper generation --- images/make_boot_img | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index 246eb9de1..b66208acf 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -163,9 +163,8 @@ sub initrd { _ "cp -a $_ $tmp_initrd$_"; }; - output("$tmp_initrd/sbin/hotplug", q{ -#!/bin/sh -e -if [ \$SUBSYSTEM = firmware ] && [ \$ACTION = add ] && [ -n "\$FIRMWARE" ] ; then + output("$tmp_initrd/sbin/hotplug", q{#!/bin/sh -e +if [ "$SUBSYSTEM" = firmware ] && [ "$ACTION" = add ] && [ -n "$FIRMWARE" ] ; then if [ ! -e /sys\$DEVPATH/loading ]; then exit 1 fi -- cgit v1.2.1