summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xliveinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/liveinit b/liveinit
index a0067f8..dde270f 100755
--- a/liveinit
+++ b/liveinit
@@ -388,6 +388,9 @@ if [ "$RESCUE" = "" ]; then
if [ $TORAM -ne 0 ]; then
echo "${INITRD}: Live OS copied to RAM, you can remove the Live medium."
+ if [ "LIVEFS" = "iso9660" ]; then
+ eject ${LIVEMEDIA}
+ fi
fi
# Setup persistence in case our media is writable, *and* the user