diff --git a/base/etc/init.d/vmcontext b/base/etc/init.d/vmcontext index 63ef1d5..8ba3fcc 100755 --- a/base/etc/init.d/vmcontext +++ b/base/etc/init.d/vmcontext @@ -52,7 +52,8 @@ function execute_scripts { case "$1" in "start") - if [ -e "/dev/disk/by-label/CONTEXT" ]; then + CONTEXT_DEV=`blkid -l -t LABEL="CONTEXT" -o device` + if [ -e "$CONTEXT_DEV" ]; then mount -t iso9660 -L CONTEXT -o ro /mnt if [ -f /mnt/context.sh ]; then export_rc_vars /mnt/context.sh