diff options
Diffstat (limited to 'abs/core-testing')
-rw-r--r-- | abs/core-testing/linhes-live/PKGBUILD | 3 | ||||
-rw-r--r-- | abs/core-testing/linhes-live/etc/live-shutdown | 6 |
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 |