summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live
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
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')
-rw-r--r--abs/core-testing/linhes-live/PKGBUILD3
-rw-r--r--abs/core-testing/linhes-live/etc/live-shutdown6
2 files changed, 5 insertions, 4 deletions
diff --git a/abs/core-testing/linhes-live/PKGBUILD b/abs/core-testing/linhes-live/PKGBUILD
index f718e22..b0da16a 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=12
+pkgrel=15
pkgdesc="LinHes compulsory components for the Live System."
url="http://KnoppMyth.net"
@@ -29,3 +29,4 @@ build() {
# End
#change hook1 to wait for usb cdroms
+#add extra login to f_remountro for vmware/usb
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