shell script to mount smb shares
i currently use an app that auto-mounts some network share folders at login. i know i don't need an app and mac os can auto-mount them if i add them to login items. but the reason i use the app is to control login credentials for each share as well as have some additional controls over share mounts available in the GUI of the app.
i prefer to move away from using this app and want to create scripts for auto mounting the shares upon login. i prefer shell script, but can also do applescript if anyone is knowledgable with how it should be written ?
some advice on how to setup a script to do that would be greatly appreciate. thanks in advance
i am using Big Sur 11.6.3.
MacBook Pro 16″, macOS 11.6