mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
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:
@@ -42,7 +42,7 @@ IFS="
|
||||
mount "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
|
||||
;;
|
||||
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
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user