summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/halt.local.CD3
-rwxr-xr-xfiles/halt.local.DVD3
2 files changed, 4 insertions, 2 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);
diff --git a/files/halt.local.DVD b/files/halt.local.DVD
index 6254c61..e27ad1d 100755
--- a/files/halt.local.DVD
+++ b/files/halt.local.DVD
@@ -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);