generic-poky/meta/packages/linux-hotplug/linux-hotplug-20040920/isapnp-exit.diff

12 lines
348 B
Diff

--- hotplug-2004_09_20/etc/hotplug/isapnp.rc.orig 2004-12-20 15:01:21.541446000 +0100
+++ hotplug-2004_09_20/etc/hotplug/isapnp.rc 2004-12-20 15:01:32.625760928 +0100
@@ -13,7 +13,7 @@
#
# only 2.6 kernels are supported
-[ -d /sys/bus/pnp/devices/ ] || return 0
+[ -d /sys/bus/pnp/devices/ ] || exit 0
cd /etc/hotplug
. ./hotplug.functions