Fixing netmount.

This commit is contained in:
Wintemrute 2010-12-08 17:29:15 +01:00 committed by Stephan Raue
parent 33908172d9
commit d6a4d512e4
2 changed files with 3 additions and 3 deletions

View File

@ -17,6 +17,6 @@
# - Local mountpoints should only be on /storage
#
# Examples:
# cifs | //192.168.1.44/videos | /storage/mount/videos | username=user,password=secret
# cifs | //192.168.1.44/tv shows | /storage/mount/tvshows | 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,pass=secret
# nfs | 192.168.1.44:/videos | /storage/mount/videos

View File

@ -44,7 +44,7 @@ IFS="
case "$SERVICE" in
cifs|smb|samba)
mount.cifs "$SHARE" "$MOUNTPOINT" "$OPTIONS" > /dev/null 2>&1
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1
;;
nfs)
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1