On 04/05/2013 11:44 AM, Tim O'Guin wrote:
Post the source on pastebin or something and share it.


No secrets here (copied from web) and it's a short test script

testvol="/mnt/mtstuff"                # the mount point in /etc/fstab
if mount|grep $testvol; then
echo "mounted"
else
echo "not mounted"
# exit=/bin/mount /mnt/mtstuff  # doesn't work
/bin/mount /mnt/mtstuff         # works
fi

Howard

--
--
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to