summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-29 18:37:20 +0200
committerSimon Rettberg2015-09-29 18:37:20 +0200
commitb45db96450c314d9842e160225b49190d509a1a8 (patch)
treebf4a76ad7aa42bbf1316d6466686e9dac930cdd7 /scripts
parentUpdate dozmod-upgrade.sql (diff)
downloadtmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.tar.gz
tmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.tar.xz
tmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.zip
[MountVmStore] Timeout quicker, return exit code in status
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mount-store2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mount-store b/scripts/mount-store
index cb6b769..e0ce839 100755
--- a/scripts/mount-store
+++ b/scripts/mount-store
@@ -117,7 +117,7 @@ if grep -E -q '^[^/].+:.+' <<<$SOURCE; then
# seems to be NFS
for opt in vers=4 vers=3; do
echo " * Trying ${opt}..."
- mount -v -t nfs -o rw,noatime,noexec,nodev,async,nolock,$opt,fg,ac,retry=1,timeo=150,sec=sys "$SOURCE" "$DEST"
+ mount -v -t nfs -o rw,noatime,noexec,nodev,async,nolock,$opt,fg,ac,retry=0,timeo=200,sec=sys "$SOURCE" "$DEST"
RET=$?
[ "$RET" -ne "0" ] && continue
echo "Mount succeeded, checking write permissions...."