From a3b30a4b4bb355ea333e6312534cf535faebb0e0 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 10 Jan 2013 16:21:45 -0600 Subject: Text cleanup for ejecting the CDROM. If the boot medium was not a CDROM it only printed two lines and that just looked odd. --- build_tools/archiso/archiso/archiso_shutdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_tools/archiso/archiso/archiso_shutdown b/build_tools/archiso/archiso/archiso_shutdown index e61b7f9..0708028 100644 --- a/build_tools/archiso/archiso/archiso_shutdown +++ b/build_tools/archiso/archiso/archiso_shutdown @@ -35,7 +35,9 @@ fi #JM #This is where the reboot would go + echo "------------------------" +echo "Checking if CDROM needs to be ejected..." #bootdev is created in rc.local on startup bootdev=$( cat /bootdev.txt ) if [ -f /proc/sys/dev/cdrom/info ] @@ -52,7 +54,7 @@ then do if [ "/dev/${d}" = "${bootdev}" ] then - echo "Boot device is a cdrom, ejecting..." + echo " Boot device is a cdrom, ejecting..." eject ${bootdev} break fi -- cgit v0.12