X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=867efc0f8d3e05cb5eb5830f3f9d819ea69fcc17;hb=bd2cfbec5fe67ea696162c1caa5c80187a070bee;hp=2cfa5e199a1c54731aae12bc80bce5260086b0c0;hpb=9fce4d8ed2f15757322c68625de3398566a69f44;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 2cfa5e1..867efc0 100755 --- a/scripts/live +++ b/scripts/live @@ -1109,6 +1109,7 @@ setup_unionfs () else cowdevice="tmpfs" cow_fstype="tmpfs" + cow_mountopt="rw,noatime,mode=755" fi if [ "${cow_fstype}" = "nfs" ] @@ -1118,8 +1119,6 @@ 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