summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live11
1 files changed, 9 insertions, 2 deletions
diff --git a/hooks/live b/hooks/live
index 9aeca4b..190fac5 100755
--- a/hooks/live
+++ b/hooks/live
@@ -126,8 +126,15 @@ fi
copy_exec /usr/bin/md5sum /bin
# Program: udev
-copy_exec /sbin/udevadm /sbin
-copy_exec /sbin/udevsettle /sbin
+if [ -x /sbin/udevadm ]
+then
+ # lenny
+ copy_exec /sbin/udevadm /sbin
+else
+ # etch
+ copy_exec /sbin/udevtrigger /sbin
+ copy_exec /sbin/udevsettle /sbin
+fi
copy_exec /usr/bin/udevinfo /bin
# Program: wget