From 3cd34c818ca9695d0b5a8bab80c0ef08544acfbf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 Apr 2009 20:39:20 +0200 Subject: Applying patch from Michael Prokop to support udev >= 0.140. --- hooks/live | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hooks') 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 ] -- cgit v1.2.3