linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pci.rc [: missing ']'
@ 2004-03-13 18:15 Fumitoshi UKAI
  2004-03-13 18:23 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Fumitoshi UKAI @ 2004-03-13 18:15 UTC (permalink / raw)
  To: linux-hotplug

Hi,

Usual /bin/sh complains [: missing ']'.  This patch fixes this problem.
May I apply this patch?

diff -ruN hotplug-2004_03_11.orig/etc/hotplug/pci.rc hotplug-2004_03_11/etc/hotplug/pci.rc
--- hotplug-2004_03_11.orig/etc/hotplug/pci.rc	2004-03-12 08:18:23.000000000 +0900
+++ hotplug-2004_03_11/etc/hotplug/pci.rc	2004-03-13 13:49:05.000000000 +0900
@@ -42,8 +42,7 @@
     else
 	# 2.4 kernels
 	LISTER=`which pcimodules`
-	if [ "$LISTER" = "" -o ! -f /proc/bus/pci/devices
-		 -o ! -x pci.agent ]; then
+	if [ "$LISTER" = "" -o ! -f /proc/bus/pci/devices -o ! -x pci.agent ]; then
 	    echo $"** can't synthesize pci hotplug events"
 	    return
 	fi

Thanks,
Fumitoshi UKAI


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pci.rc [: missing ']'
  2004-03-13 18:15 pci.rc [: missing ']' Fumitoshi UKAI
@ 2004-03-13 18:23 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-03-13 18:23 UTC (permalink / raw)
  To: linux-hotplug

On Sun, Mar 14, 2004 at 03:15:59AM +0900, Fumitoshi UKAI wrote:
> Hi,
> 
> Usual /bin/sh complains [: missing ']'.  This patch fixes this problem.
> May I apply this patch?

Please feel free to apply this patch, and any others that you have that
fix problems.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-13 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 18:15 pci.rc [: missing ']' Fumitoshi UKAI
2004-03-13 18:23 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).