ejecting live-media after toram
Hi,
am I right that it's save to do this:
---snip---
diff --git a/scripts/live b/scripts/live
index 389fc21..b1af2a0 100755
--- a/scripts/live
+++ b/scripts/live
@@ -236,6 +236,11 @@ Arguments ()
export NOCONSOLEKEYBOARD
;;
+ noeject)
+ NOEJECT="Yes"
+ export NOEJECT
+ ;;
+
nofastboot)
NOFASTBOOT="Yes"
export NOFASTBOOT
@@ -662,6 +667,12 @@ copy_live_to ()
mount -r -o move ${copyto} ${copyfrom}
fi
+ # Eject live media
+ if [ -x /bin/eject ] && [ "${NOEJECT}" != "Yes" ]
+ then
+ eject ${dev}
+ fi
+
rmdir ${copyto}
return 0
}
---snap---
or is the live-media used for anything after copy_live_to(); has been run?
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
Reply to: