From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Sun, 07 Mar 2004 12:44:42 +0000 Subject: hotplug patches: fixes and sysfs support 3/5 Message-Id: <20040307124442.GA4345@wonderland.linux.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="pWyiEgJYm5f9v55/" List-Id: References: <20040205010507.GA12825@wonderland.linux.it> In-Reply-To: <20040205010507.GA12825@wonderland.linux.it> To: linux-hotplug@vger.kernel.org --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 003_no_useless_includes: removed some unused code. -- ciao, | Marco | [4958 diVR8I6hPFBsY] --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=003_no_useless_includes diff -ruN hotplug-2004_01_05.orig/etc/hotplug/pci.rc hotplug-2004_01_05/etc/hotplug/pci.rc --- hotplug-2004_01_05.orig/etc/hotplug/pci.rc 2004-02-01 17:36:26.000000000 +0100 +++ hotplug-2004_01_05/etc/hotplug/pci.rc 2004-02-01 17:34:59.000000000 +0100 @@ -9,22 +9,8 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin cd /etc/hotplug - -# source function library -if [ -f /etc/init.d/functions ]; then - . /etc/init.d/functions -elif [ -f /etc/rc.d/init.d/functions ]; then - . /etc/rc.d/init.d/functions -fi - . ./hotplug.functions - -# # override any of the defaults? -# if [ -f /etc/sysconfig/pci ]; then -# . /etc/sysconfig/pci -# fi - pci_boot_events () { # diff -ruN hotplug-2004_01_05.orig/etc/hotplug/usb.rc hotplug-2004_01_05/etc/hotplug/usb.rc --- hotplug-2004_01_05.orig/etc/hotplug/usb.rc 2004-02-01 17:36:26.000000000 +0100 +++ hotplug-2004_01_05/etc/hotplug/usb.rc 2004-02-01 17:36:19.000000000 +0100 @@ -27,14 +27,6 @@ STATIC_MODULE_LIST= X11_USBMICE_HACK=false -# source function library -if [ -f /etc/init.d/functions ]; then - . /etc/init.d/functions -elif [ -f /etc/rc.d/init.d/functions ]; then - . /etc/rc.d/init.d/functions -fi - - # override any of the defaults above? if [ -f /etc/sysconfig/usb ]; then . /etc/sysconfig/usb --pWyiEgJYm5f9v55/-- ------------------------------------------------------- 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=1470&alloc_id=3638&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