summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live/etc
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-12 23:32:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-12 23:32:57 (GMT)
commit0ddfab039265ac932a8a48b01e90ffdb434d7fb7 (patch)
tree187124e6a0bfc0e818ea2cb500fb0b3f83851370 /abs/core-testing/linhes-live/etc
parent6c619a60fd89b5e75a93cff06977c552ddf1e621 (diff)
downloadlinhes_pkgbuild-0ddfab039265ac932a8a48b01e90ffdb434d7fb7.zip
linhes_pkgbuild-0ddfab039265ac932a8a48b01e90ffdb434d7fb7.tar.gz
linhes_pkgbuild-0ddfab039265ac932a8a48b01e90ffdb434d7fb7.tar.bz2
Correct not ejecting the cd because it thinks it's not a cddrive.
Moved break inside the loop, so the loop actually loops instead of stopping after the first device.
Diffstat (limited to 'abs/core-testing/linhes-live/etc')
-rw-r--r--abs/core-testing/linhes-live/etc/live-shutdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/linhes-live/etc/live-shutdown b/abs/core-testing/linhes-live/etc/live-shutdown
index 6e12d22..b105975 100644
--- a/abs/core-testing/linhes-live/etc/live-shutdown
+++ b/abs/core-testing/linhes-live/etc/live-shutdown
@@ -38,10 +38,10 @@ f_swapoff ()
f_remountro ()
{
bootdev=`cat /.livesys/bootdevice`
- bootdev=`basename $bootdev`
- for i in `ls -H /dev/cd/*`
+ #bootdev=`basename $bootdev`
+ for i in `ls /dev/cd/*`
do
- cdrom=`basename $i|cut -d- -f2`
+ cdrom=`readlink -f $i`
if [ x$cdrom = x$bootdev ]
then
ejectdev=$cdrom