summaryrefslogtreecommitdiffstats
path: root/files/halt.local.CD
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-04-08 21:51:11 +0200
committerThomas Backlund <tmb@mageia.org>2015-04-08 21:51:11 +0200
commit831b866b5c1b340422788745337ee2d8b3c06234 (patch)
treecef40af4780a6e53dfec1b3c112cd4c6633e318c /files/halt.local.CD
parent58f049ebbc29e2340b8a823ff49eeec766b303d9 (diff)
downloaddraklive-config-831b866b5c1b340422788745337ee2d8b3c06234.tar
draklive-config-831b866b5c1b340422788745337ee2d8b3c06234.tar.gz
draklive-config-831b866b5c1b340422788745337ee2d8b3c06234.tar.bz2
draklive-config-831b866b5c1b340422788745337ee2d8b3c06234.tar.xz
draklive-config-831b866b5c1b340422788745337ee2d8b3c06234.zip
clear console before message about media removal
Diffstat (limited to 'files/halt.local.CD')
-rwxr-xr-xfiles/halt.local.CD3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/halt.local.CD b/files/halt.local.CD
index 6254c61..e27ad1d 100755
--- a/files/halt.local.CD
+++ b/files/halt.local.CD
@@ -17,7 +17,8 @@ my $f = detect_devices::tryOpen($device);
ioctl($f, c::CDROM_LOCKDOOR(), 0); # unlock door
ioctl($f, c::CDROMEJECT(), 0);
-print "\n\nPlease press <Enter> (or <CTRL><J>) once the medium is removed.\n";
+system("clear");
+print "\n\n\nPlease press <Enter> (or <CTRL><J>) once the medium is removed.\n";
system("read < /dev/console");
ioctl($f, c::CDROMCLOSETRAY(), 0);