projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding upstream version 1.91.4.
[live-boot-grml.git]
/
scripts
/
live-premount
/
10driver_updates
diff --git
a/scripts/live-premount/10driver_updates
b/scripts/live-premount/10driver_updates
index
55aece5
..
7f5c4c4
100755
(executable)
--- a/
scripts/live-premount/10driver_updates
+++ b/
scripts/live-premount/10driver_updates
@@
-130,7
+130,11
@@
fi
# GDMCONF=/etc/gdm/gdm.conf
#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"
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
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
log_end_msg