Help converting Apple Script to Shell Script
Below is a starting point.

username=`whoami`
homepath=`dscl '/Active Directory/CAMPUS/All Domains/' -read /Users/$username |grep SMBHome: | cut -c 10- | sed 's/\\\\/\\//g'`

mount_smbfs $homepath &lt;mount_point&gt;


I'm not really sure of the mount syntax.  This answer may help with mount syntax.