diff options
author | Eric Hameleers <alien@slackware.com> | 2016-02-02 15:33:44 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-02-02 15:33:44 +0100 |
commit | 1307862b89c95011961f994de925abf83b4be23f (patch) | |
tree | f6580d3c6012c85a02bd0aaacd5e97681c6ed66e /liveinit | |
parent | 40c17e2451819d30dfa399f4e3a078c4113a418b (diff) | |
download | liveslak-1307862b89c95011961f994de925abf83b4be23f.tar.gz liveslak-1307862b89c95011961f994de925abf83b4be23f.tar.xz |
Live init: eject the Live CDROM/DVD medium after loading modules into RAM.
Only relevant if the user added the 'toram' boot option.
Diffstat (limited to 'liveinit')
-rwxr-xr-x | liveinit | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |