mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
Revert "netmount: add support for busybox's NFS and CIFS mounts, add support for adding options to NFS mounts"
This reverts commit 89d24da738349361e820493f546e0661a9fbd104.
This commit is contained in:
parent
bb2e1d1f03
commit
b77f0a9dd6
@ -30,12 +30,12 @@
|
|||||||
#
|
#
|
||||||
# - "service" can be "nfs" for NFS mounts or "cifs" for CIFS (Samba) mounts
|
# - "service" can be "nfs" for NFS mounts or "cifs" for CIFS (Samba) mounts
|
||||||
# - Please use an "|" as delimiter
|
# - Please use an "|" as delimiter
|
||||||
# - Please use an "," as delimiter for mountoptions
|
|
||||||
# - Don't use spaces in usernames, passwords and options
|
# - Don't use spaces in usernames, passwords and options
|
||||||
|
# - for NFS mounts there is no support for options
|
||||||
# - be aware of the different syntax for NFS shares
|
# - be aware of the different syntax for NFS shares
|
||||||
# - 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,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 | rw
|
# nfs | 192.168.1.44:/videos | /storage/mount/videos
|
||||||
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.openelec.tv"
|
PKG_SITE="http://www.openelec.tv"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS="sshfs-fuse connman"
|
PKG_DEPENDS="cifs-utils nfs-utils sshfs-fuse connman"
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="tools"
|
PKG_SECTION="tools"
|
||||||
|
@ -39,10 +39,10 @@ IFS="
|
|||||||
mkdir -p $MOUNTPOINT
|
mkdir -p $MOUNTPOINT
|
||||||
case "$SERVICE" in
|
case "$SERVICE" in
|
||||||
cifs)
|
cifs)
|
||||||
mount "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
|
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
nfs)
|
nfs)
|
||||||
mount "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" > /dev/null 2>&1 &
|
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user