summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-04-07 20:39:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:04 +0100
commit3cd34c818ca9695d0b5a8bab80c0ef08544acfbf (patch)
tree11b17910f055e12a030411c4bb85eab8e7598bad /hooks
parent5259e901201bd6c98467841fb697c86932c4e493 (diff)
downloadlive-boot-3cd34c818ca9695d0b5a8bab80c0ef08544acfbf.tar.gz
live-boot-3cd34c818ca9695d0b5a8bab80c0ef08544acfbf.zip
Applying patch from Michael Prokop <mika@grml.org> to support udev >= 0.140.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live5
1 files changed, 4 insertions, 1 deletions
diff --git a/hooks/live b/hooks/live
index 32adfb6..4e29226 100755
--- a/hooks/live
+++ b/hooks/live
@@ -148,7 +148,10 @@ else
copy_exec /sbin/udevtrigger /sbin
copy_exec /sbin/udevsettle /sbin
fi
-copy_exec /usr/bin/udevinfo /bin
+if [ -x /usr/bin/udevinfo ]
+then
+ copy_exec /usr/bin/udevinfo /bin
+fi
# Program: wget
if [ -x /usr/bin/wget ]