Home » Questions » Computers [ Ask a new question ]

Mount a share on a Mac using a login hook

Mount a share on a Mac using a login hook

I have a script that mounts a Samba share to a folder on the desktop, it runs no problem but when its setup as a LoginHook it doesn't mount the folder.

Asked by: Guest | Views: 307
Total answers/comments: 1
Guest [Entry]

"I've used the following script with success in the past but I haven't used or needed it for a while:

mkdir -p ~/Desktop/Folder
mount_smbfs //domain;USERNAME@server.example.com/Share /Users/username/Desktop/Folder"