I've found some information on this topic here. However, i get only so far.
What I need to do is the following:
Check every 5 min. if the network-drive is mounted. If YES, do nothing. If NO, mount disk and check if it is mounted. If YES, send email that all is ok. If NO, send email saying network-drive is unavailable.
I would really prefer to do this as a bash shell script.
Any pointer would be great.