X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-mount-cifs.sh;fp=scripts%2Fboot%2F9990-mount-cifs.sh;h=8dd181807c247c0934e3b33536f2144c79786b24;hb=e3b11d9a5aa8df89c435118c12d92f9c4201ad85;hp=a8ef3f45aae3334f134f376ca3fee344713fc9b5;hpb=bba6bf638e638ba6556ef335d34ec03433b86a9d;p=live-boot-grml.git diff --git a/scripts/boot/9990-mount-cifs.sh b/scripts/boot/9990-mount-cifs.sh index a8ef3f4..8dd1818 100755 --- a/scripts/boot/9990-mount-cifs.sh +++ b/scripts/boot/9990-mount-cifs.sh @@ -10,7 +10,7 @@ do_cifsmount () then if [ -z "${NFSOPTS}" ] then - CIFSOPTS="-ouser=root,password=" + CIFSOPTS="-o user=root,password=" else CIFSOPTS="-o ${NFSOPTS}" fi @@ -18,7 +18,7 @@ do_cifsmount () log_begin_msg "Trying mount.cifs ${NFSROOT} ${mountpoint} ${CIFSOPTS}" modprobe -q cifs - if mount.cifs "${NFSROOT}" "${mountpoint}" "${CIFSOPTS}" + if mount.cifs "${NFSROOT}" "${mountpoint}" ${CIFSOPTS} then rc=0 fi