From 2f0b206504e1421c78cd2630f62005b20a44afe0 Mon Sep 17 00:00:00 2001 From: Felix Endres Date: Sat, 21 Apr 2007 14:34:00 +0000 Subject: Bugfixing and fine-tuning last changes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@914 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/etc/functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'initramfs/initrd-stuff/etc/functions') diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 9a049c15..1fa21a35 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -981,12 +981,12 @@ include_in_fsroot_union () { #iscsitarget=$(uri_token $ROOTFS path) ;; esac - if [ "X$union_type" == "Xunionfs" ]; then - echo "Using unionctl to mount ${root_path}_${union_id} (type: $union_type)" + if [ "X$union_type" == "XUnionFS" ]; then + [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && echo "Using unionctl to mount ${root_path}_${union_id} (type: $union_type)" unionctl /mnt/ --add --after 1 --mode ro /mnt/tmp/${root_path}_${union_id} - elif [ "X$union_type" == "Xaufs" ]; then + elif [ "X$union_type" == "XAUFS" ]; then #unionctl for aufs is a sh script needing tools not included in our initrd - echo "Using aufs-mount to mount ${root_path}_${union_id} (type: $union_type)" + [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && echo "Using aufs-mount to mount ${root_path}_${union_id} (type: $union_type)" mount -n -o remount,add:1:/mnt/tmp/${root_path}_${union_id}=ro none /mnt else error $init_loadunions nonfatal -- cgit v1.2.3-55-g7522