Computer Tips - Linux: How can I mount at disk shared by my Boxee box?

Date: 2011apr21 Updated: 2013may1 OS: Linux Language: bash Q. Linux: How can I mount at disk shared by my Boxee box? A. If the share is called "elements" this script will do it:
#!/bin/sh mkdir -p /mnt/boxee/elements OPT="sec=ntlm,guest,file_mode=0644,dir_mode=0755,noexec" mount -t cifs -o $OPT //boxee/elements /mnt/boxee/elements