diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:39 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | 74f8c4c954a06ebc99be06ad8b77e0ef0880b30e (patch) | |
| tree | f486a73895421b19c997db51edb5ee5440bc6feb /scripts/live-premount | |
| parent | f95e8bc85bf9ba4a5eeacae3406197dc0df4f717 (diff) | |
| download | live-boot-74f8c4c954a06ebc99be06ad8b77e0ef0880b30e.tar.gz live-boot-74f8c4c954a06ebc99be06ad8b77e0ef0880b30e.zip | |
Adding live-initramfs 1.91.2-1.
Diffstat (limited to 'scripts/live-premount')
| -rwxr-xr-x | scripts/live-premount/10driver_updates | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/live-premount/10driver_updates b/scripts/live-premount/10driver_updates index 55aece5..7f5c4c4 100755 --- a/scripts/live-premount/10driver_updates +++ b/scripts/live-premount/10driver_updates @@ -130,7 +130,11 @@ fi # GDMCONF=/etc/gdm/gdm.conf #fi -eject +if [ -x /usr/bin/eject ] +then + eject +fi + log_wait_msg "Insert a driver CD and press ENTER ($DPKG_ARCH)" log_begin_msg "Looking for driver update CD" @@ -156,7 +160,11 @@ log_begin_msg "Copying driver updates to temporary location" mkdir -p /tmp/driver-updates cp $updates_root/*_$DPKG_ARCH.deb /tmp/driver-updates/ umount $mountpoint -eject + +if [ -x /usr/bin/eject ] +then + eject +fi log_end_msg |
