mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Fixing netmount.
This commit is contained in:
parent
33908172d9
commit
d6a4d512e4
@ -17,6 +17,6 @@
|
|||||||
# - Local mountpoints should only be on /storage
|
# - Local mountpoints should only be on /storage
|
||||||
#
|
#
|
||||||
# Examples:
|
# Examples:
|
||||||
# cifs | //192.168.1.44/videos | /storage/mount/videos | username=user,password=secret
|
# 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,password=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
|
||||||
|
@ -44,7 +44,7 @@ IFS="
|
|||||||
|
|
||||||
case "$SERVICE" in
|
case "$SERVICE" in
|
||||||
cifs|smb|samba)
|
cifs|smb|samba)
|
||||||
mount.cifs "$SHARE" "$MOUNTPOINT" "$OPTIONS" > /dev/null 2>&1
|
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
nfs)
|
nfs)
|
||||||
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1
|
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user