netmount: add options 'tcp' and 'timeo=600' per default to force tcp connections and a bigger timeout

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-04-02 11:12:52 +02:00
parent 32e1c368e1
commit 8b05b0848a

View File

@ -42,7 +42,7 @@ IFS="
mount "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 & mount "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
;; ;;
nfs) nfs)
mount "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" > /dev/null 2>&1 & mount "$SHARE" "$MOUNTPOINT" -o nolock,tcp,timeo=600,"$OPTIONS" > /dev/null 2>&1 &
;; ;;
esac esac
done done