diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-25 21:09:10 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-25 21:09:10 +0000 |
commit | 5da42d985f5bc84029fed3fc8cd9e53197dc00d6 (patch) | |
tree | 5b1763d00ee7dbc114d3b142bc69ce718551aa81 /files/halt.local.DVD | |
parent | a035045c7a2472ac12044547563d6f0bcf09ffc4 (diff) | |
download | draklive-config-5da42d985f5bc84029fed3fc8cd9e53197dc00d6.tar draklive-config-5da42d985f5bc84029fed3fc8cd9e53197dc00d6.tar.gz draklive-config-5da42d985f5bc84029fed3fc8cd9e53197dc00d6.tar.bz2 draklive-config-5da42d985f5bc84029fed3fc8cd9e53197dc00d6.tar.xz draklive-config-5da42d985f5bc84029fed3fc8cd9e53197dc00d6.zip |
Remove obsolete files.
We build hybrid ISOs, so don't need separate USB images. Various
other files are no longer used amywhere.
Diffstat (limited to 'files/halt.local.DVD')
-rwxr-xr-x | files/halt.local.DVD | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/files/halt.local.DVD b/files/halt.local.DVD deleted file mode 100755 index e27ad1d..0000000 --- a/files/halt.local.DVD +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl - -use lib qw(/usr/lib/libDrakX); -use MDK::Common; -use detect_devices; -use c; - -my ($device) = cat_("/proc/mounts") =~ m!(/dev/\S+)\s+/live/media\s+iso9660!; -$device or exit; - -# try to put halt/reboot in cache, if not called directly from them -# mount is also needed by end of /etc/init.d/halt -system("$_ --help &>/dev/null") foreach qw(halt mount reboot); - -my $f = detect_devices::tryOpen($device); -# see openCdromTray() from install::any -ioctl($f, c::CDROM_LOCKDOOR(), 0); # unlock door -ioctl($f, c::CDROMEJECT(), 0); - -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); |