mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
netmount: add support for busybox's nfs mount applet
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
63b43281ff
commit
11563574ca
@ -40,4 +40,4 @@
|
|||||||
# afp | 192.168.1.44/videos | /storage/mount/videos | <username>:<password>
|
# 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/videos | /storage/mount/videos | username=user,pass=secret
|
||||||
# cifs | //192.168.1.44/tv shows | /storage/mount/tvshows | 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 | <optional mount options, comma seperated>
|
# nfs | 192.168.1.44:/videos | /storage/mount/videos | ro,tcp,timeo=600
|
||||||
|
@ -46,7 +46,7 @@ IFS="
|
|||||||
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" &
|
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" &
|
||||||
;;
|
;;
|
||||||
nfs)
|
nfs)
|
||||||
mount.nfs "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" &
|
mount "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" &
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user