summaryrefslogtreecommitdiff
path: root/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
diff options
context:
space:
mode:
authorMartin Dietze <martin@the-little-red-haired-girl.org>2009-05-23 13:34:35 +0200
committermd <md@freiheit.com>2009-05-27 21:51:02 +0200
commit4103b643af81d0f02df999de0b5d32170f2a7567 (patch)
tree873e9ffcfff2860492df52d748b84497c4dd804c /recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
parentdbf948c5c97bc43f18c763866277ead38f05321c (diff)
linux-hotplug: fixed the path to the hotplug command in pci.rc * the hotplug command was assumed to be in /sbin, but it actually is in /usr/sbin
Diffstat (limited to 'recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch')
-rw-r--r--recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
new file mode 100644
index 0000000000..c68a0099fa
--- /dev/null
+++ b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
@@ -0,0 +1,20 @@
+--- hotplug-2004_09_20/etc/hotplug/pci.rc-orig 2009-04-07 21:00:18.000000000 +0200
++++ hotplug-2004_09_20/etc/hotplug/pci.rc 2009-04-07 21:00:43.000000000 +0200
+@@ -38,7 +38,7 @@
+ sub_vendor_id=`cat $PCI_DEVICE/subsystem_vendor`
+ sub_device_id=`cat $PCI_DEVICE/subsystem_device`
+ PCI_SUBSYS_ID="${sub_vendor_id#0x}:${sub_device_id#0x}"
+- /sbin/hotplug pci
++ /usr/sbin/hotplug pci
+ done
+ fi
+ else
+@@ -53,7 +53,7 @@
+ for BUS in `cd /proc/bus/pci;find * -type d -print`; do
+ for SLOT_FUNC in `cd /proc/bus/pci/$BUS; echo *`; do
+ PCI_SLOT=$BUS:$SLOT_FUNC
+- /sbin/hotplug pci
++ /usr/sbin/hotplug pci
+ done
+ done
+ fi