mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
netmount: add options support, enable nolock nfs-mounts per default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fa1ea21e78
commit
808a98466e
@ -40,4 +40,4 @@
|
||||
# afp | 192.168.1.44/videos | /storage/mount/videos | <username>:<password>
|
||||
# cifs | //192.168.1.44/videos | /storage/mount/videos | username=user,pass=secret
|
||||
# cifs | //192.168.1.44/tv shows | /storage/mount/tvshows | username=user,pass=secret
|
||||
# nfs | 192.168.1.44:/videos | /storage/mount/videos
|
||||
# nfs | 192.168.1.44:/videos | /storage/mount/videos | <optional mount options, comma seperated>
|
||||
|
@ -46,7 +46,7 @@ IFS="
|
||||
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" &
|
||||
;;
|
||||
nfs)
|
||||
mount.nfs "$SHARE" "$MOUNTPOINT" &
|
||||
mount.nfs "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" &
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user