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:
Stephan Raue 2011-04-02 12:38:22 +02:00
parent bb2e1d1f03
commit b77f0a9dd6
3 changed files with 5 additions and 5 deletions

View File

@ -30,12 +30,12 @@
#
# - "service" can be "nfs" for NFS mounts or "cifs" for CIFS (Samba) mounts
# - Please use an "|" as delimiter
# - Please use an "," as delimiter for mountoptions
# - 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
# - Local mountpoints should only be on /storage
#
# Examples:
# 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 | rw
# nfs | 192.168.1.44:/videos | /storage/mount/videos

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS="sshfs-fuse connman"
PKG_DEPENDS="cifs-utils nfs-utils sshfs-fuse connman"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="tools"

View File

@ -39,10 +39,10 @@ IFS="
mkdir -p $MOUNTPOINT
case "$SERVICE" in
cifs)
mount "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
;;
nfs)
mount "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" > /dev/null 2>&1 &
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1 &
;;
esac
done