From 28aa00d5d23b348dec6e0a2e67ec1e347c881745 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 30 Sep 2014 21:43:10 +0100 Subject: [PATCH] Import procmail --- install-freedombone.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 6e1079e3..c7c23718 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -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