summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-13 05:27:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-13 05:27:44 (GMT)
commitd4a20873431dc5575e7961b3e71493bb111dbe36 (patch)
tree0579a079a5f01ef67bd49b74008c80736606849d /abs/core-testing/linhes-live
parent72c6f7491c5986c68d12cfd66e276930c50b04fc (diff)
downloadlinhes_pkgbuild-d4a20873431dc5575e7961b3e71493bb111dbe36.zip
linhes_pkgbuild-d4a20873431dc5575e7961b3e71493bb111dbe36.tar.gz
linhes_pkgbuild-d4a20873431dc5575e7961b3e71493bb111dbe36.tar.bz2
print boot device and eject device on shutdown.
Diffstat (limited to 'abs/core-testing/linhes-live')
-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"