X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=22d221041f4953049eab0c8cc1effc2460f3345b;hb=212b6169a72a96af275b318f8e17f693f5cc060b;hp=15710c29b3e0b131adcc69ecc863c8cc8c93dc2f;hpb=c9d58cf19e1e40db8ee3f529fdcd6a319b156257;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