Import procmail

This commit is contained in:
Bob Mottram 2014-09-30 21:43:10 +01:00
parent da9d95f738
commit 28aa00d5d2
1 changed files with 6 additions and 0 deletions

View File

@ -402,6 +402,12 @@ function search_for_attached_usb_drive {
fi
fi
if [ -f $USB_MOUNT/.procmailrc ]; then
echo 'Importing procmail settings'
cp $USB_MOUNT/.procmailrc /home/$MY_USERNAME
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.procmailrc
fi
if [ -f $USB_MOUNT/private_key.gpg ]; then
echo 'GPG private key found on USB drive'
MY_GPG_PRIVATE_KEY=$USB_MOUNT/private_key.gpg