summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rw-r--r--build_tools/archiso/archiso/archiso_shutdown4
1 files changed, 3 insertions, 1 deletions
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