summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/linhes-live/PKGBUILD2
-rw-r--r--abs/core-testing/linhes-live/etc/live-shutdown6
2 files changed, 5 insertions, 3 deletions
diff --git a/abs/core-testing/linhes-live/PKGBUILD b/abs/core-testing/linhes-live/PKGBUILD
index b0da16a..29de17e 100644
--- a/abs/core-testing/linhes-live/PKGBUILD
+++ b/abs/core-testing/linhes-live/PKGBUILD
@@ -2,7 +2,7 @@
# 2008.09.25
pkgname=linhes-live
pkgver=5.3.3
-pkgrel=15
+pkgrel=17
pkgdesc="LinHes compulsory components for the Live System."
url="http://KnoppMyth.net"
diff --git a/abs/core-testing/linhes-live/etc/live-shutdown b/abs/core-testing/linhes-live/etc/live-shutdown
index b105975..b6a8378 100644
--- a/abs/core-testing/linhes-live/etc/live-shutdown
+++ b/abs/core-testing/linhes-live/etc/live-shutdown
@@ -38,6 +38,7 @@ f_swapoff ()
f_remountro ()
{
bootdev=`cat /.livesys/bootdevice`
+ echo "Boot device was $bootdev"
#bootdev=`basename $bootdev`
for i in `ls /dev/cd/*`
do
@@ -45,15 +46,16 @@ f_remountro ()
if [ x$cdrom = x$bootdev ]
then
ejectdev=$cdrom
+ break
fi
- break
+
done
lspci |grep -q VMware
if [ ! $? = 0 ]
then
if [ -n "${ejectdev}" ]
then
- echo "Ejecting CD"
+ echo "Ejecting CD $ejectdev"
eject ${ejectdev}
echo "========================================"
echo "Tray will retract after 10 seconds"