summaryrefslogtreecommitdiff
path: root/hooks/live
diff options
context:
space:
mode:
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" ]