X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=22d221041f4953049eab0c8cc1effc2460f3345b;hb=330394c83e8bd37b9c155fb336af37d9ec689e25;hp=15710c29b3e0b131adcc69ecc863c8cc8c93dc2f;hpb=6e598ce949be588a8eddc6fd8ca3b5a004db61b7;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 15710c2..22d2210 100755 --- a/scripts/live +++ b/scripts/live @@ -1118,6 +1118,8 @@ setup_unionfs () nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \ panic "Can not mount ${cowdevice} (n: ${cow_fstype}) on /cow" else + # make sure cow_mountopt is set: + [ -n "$cow_mountopt" ] || cow_mountopt="rw,noatime,mode=755" mount -t ${cow_fstype} -o ${cow_mountopt} ${cowdevice} /cow || \ panic "Can not mount ${cowdevice} (o: ${cow_fstype}) on /cow" fi