netmount: add support for busybox's nfs mount applet

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-12 06:11:03 +02:00
parent 63b43281ff
commit 11563574ca
2 changed files with 2 additions and 2 deletions

View File

@ -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 | <optional mount options, comma seperated>
# nfs | 192.168.1.44:/videos | /storage/mount/videos | ro,tcp,timeo=600

View File

@ -46,7 +46,7 @@ IFS="
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" &
;;
nfs)
mount.nfs "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" &
mount "$SHARE" "$MOUNTPOINT" -o nolock,"$OPTIONS" &
;;
esac
done