Mount message

This commit is contained in:
Bob Mottram 2014-09-23 20:56:39 +01:00
parent 33dd3848ab
commit 1504a2f252
1 changed files with 20 additions and 19 deletions

View File

@ -152,6 +152,7 @@ function search_for_attached_usb_drive {
fi fi
if [ -d $USB_DRIVE ]; then if [ -d $USB_DRIVE ]; then
if [ ! -d /media/usb ]; then if [ ! -d /media/usb ]; then
echo 'Mounting USB drive'
mount $USB_DRIVE /media/usb mount $USB_DRIVE /media/usb
fi fi
if [ -d /media/usb/Maildir ]; then if [ -d /media/usb/Maildir ]; then