diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
commit | 126777bc019a54afb4ec51299f2cf9d2841698aa (patch) | |
tree | 97f76e571902ead55ba138f1156a4b4f00b9b779 /live/One/2006.0/files/halt.local | |
parent | f1f67448efc714873378dfeb8279fae68054a90a (diff) | |
download | drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.gz drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.bz2 drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.xz drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip |
re-sync after the big svn loss
Diffstat (limited to 'live/One/2006.0/files/halt.local')
-rw-r--r-- | live/One/2006.0/files/halt.local | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/live/One/2006.0/files/halt.local b/live/One/2006.0/files/halt.local deleted file mode 100644 index b39f97581..000000000 --- a/live/One/2006.0/files/halt.local +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl - -use lib qw(/usr/lib/libDrakX); -use MDK::Common; -use detect_devices; -use c; - -system("mount -t proc none /proc"); -my ($device) = cat_("/proc/mounts") =~ m!(/dev/\S+)\s+/live/media\s+iso9660!; -system("umount /proc"); -$device or exit; - -# try to put halt/reboot in cache, if not called directly from them -system("$_ --help 2>/dev/null") foreach qw(halt reboot); - -my $f = detect_devices::tryOpen($device); -# see openCdromTray() and unlockCdrom(), from install_any -ioctl($f, c::CDROM_LOCKDOOR(), 0); -ioctl($f, c::CDROMEJECT(), 0); - -print "\n\nPlease press <Enter> once the medium is removed.\n"; -<STDIN>; - -ioctl($f, 0x5319, 0); # CDROMCLOSETRAY |