Import procmail
This commit is contained in:
parent
da9d95f738
commit
28aa00d5d2
|
@ -402,6 +402,12 @@ function search_for_attached_usb_drive {
|
||||||
fi
|
fi
|
||||||
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
|
if [ -f $USB_MOUNT/private_key.gpg ]; then
|
||||||
echo 'GPG private key found on USB drive'
|
echo 'GPG private key found on USB drive'
|
||||||
MY_GPG_PRIVATE_KEY=$USB_MOUNT/private_key.gpg
|
MY_GPG_PRIVATE_KEY=$USB_MOUNT/private_key.gpg
|
||||||
|
|
Loading…
Reference in New Issue