summaryrefslogtreecommitdiff
path: root/hooks/live
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:39 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit74f8c4c954a06ebc99be06ad8b77e0ef0880b30e (patch)
treef486a73895421b19c997db51edb5ee5440bc6feb /hooks/live
parentf95e8bc85bf9ba4a5eeacae3406197dc0df4f717 (diff)
downloadlive-boot-74f8c4c954a06ebc99be06ad8b77e0ef0880b30e.tar.gz
live-boot-74f8c4c954a06ebc99be06ad8b77e0ef0880b30e.zip
Adding live-initramfs 1.91.2-1.
Diffstat (limited to 'hooks/live')
-rwxr-xr-xhooks/live5
1 files changed, 4 insertions, 1 deletions
diff --git a/hooks/live b/hooks/live
index a2e5943..2e83ab2 100755
--- a/hooks/live
+++ b/hooks/live
@@ -93,7 +93,10 @@ manual_add_modules sr_mod
auto_add_modules net
# Program: eject
-copy_exec /usr/bin/eject /bin
+if [ -x /usr/bin/eject ]
+then
+ copy_exec /usr/bin/eject /bin
+fi
# Program: udev
if [ "${BUILD_SYSTEM}" = "Ubuntu" ]