From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fumitoshi UKAI Date: Sat, 13 Mar 2004 18:15:59 +0000 Subject: pci.rc [: missing ']' Message-Id: <87vfl87gv4.wl@ukai.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id70&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