summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-14 09:03:52 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:06 +0100
commitaffb2a495dbe623385088ee00c76d74251e248c3 (patch)
tree76ff5ce05780f8b4bde1d02ab93e4af7486b4912 /scripts
parentfbb80585bf415c39f4fe6c0f7f8a24bb765485db (diff)
downloadlive-boot-affb2a495dbe623385088ee00c76d74251e248c3.tar.gz
live-boot-affb2a495dbe623385088ee00c76d74251e248c3.zip
Fixing regression from mounting the ow device on a nfs volume, thanks to An-Cheng Huang <ancheng@vyatta.com>.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live
index 9fff065..80f77e9 100755
--- a/scripts/live
+++ b/scripts/live
@@ -983,6 +983,8 @@ setup_unionfs ()
cow_fstype=$(get_fstype "${cowprobe}")
else
[ "${quiet}" != "y" ] && log_warning_msg "Unable to find the persistent medium"
+ cowdevice="tmpfs"
+ cow_fstype="tmpfs"
fi
elif [ -n "${NFS_COW}" ]
then