Copy letsencrypt keys if available
This commit is contained in:
parent
1f76684968
commit
8409b0f198
|
@ -203,6 +203,11 @@ function search_for_attached_usb_drive {
|
|||
MY_GPG_PUBLIC_KEY=$USB_MOUNT/public_key.gpg
|
||||
fi
|
||||
|
||||
if [ -f $USB_MOUNT/letsencrypt ]; then
|
||||
echo $'Copying letsencrypt keys"'
|
||||
cp -r $USB_MOUNT/letsencrypt /etc
|
||||
fi
|
||||
|
||||
if [ -d $USB_MOUNT/.ssh ]; then
|
||||
echo $'Importing ssh keys'
|
||||
cp -r $USB_MOUNT/.ssh /home/$MY_USERNAME
|
||||
|
|
Loading…
Reference in New Issue