mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 01:51:03 +01:00
Added keepassx and backing up of password databases
This commit is contained in:
parent
2feb802910
commit
d2ced8118f
@ -12,7 +12,7 @@ if [ -z "$(mount | grep "$DECRYPTED_PATH")" ]
|
|||||||
echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!"
|
echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!"
|
||||||
bash "$SCRIPT_PATH/unlock.sh" || exit 1;
|
bash "$SCRIPT_PATH/unlock.sh" || exit 1;
|
||||||
fi
|
fi
|
||||||
declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/");
|
declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/" "$HOME/Documents/passwords/");
|
||||||
for system_item_path in "${BACKUP_LIST[@]}";
|
for system_item_path in "${BACKUP_LIST[@]}";
|
||||||
do
|
do
|
||||||
data_item_path="$DATA_PATH$system_item_path"
|
data_item_path="$DATA_PATH$system_item_path"
|
||||||
|
@ -12,7 +12,7 @@ sudo pacman --needed -S jdk11-openjdk python php
|
|||||||
echo "Synchronizing administration tools..."
|
echo "Synchronizing administration tools..."
|
||||||
sudo pacman --needed -S htop tree git base-devel yay make gcc cmake
|
sudo pacman --needed -S htop tree git base-devel yay make gcc cmake
|
||||||
echo "Synchronizing security tools..."
|
echo "Synchronizing security tools..."
|
||||||
sudo pacman --needed -S ecryptfs-utils encfs
|
sudo pacman --needed -S ecryptfs-utils encfs keepassxc
|
||||||
echo "Setup SSH key"
|
echo "Setup SSH key"
|
||||||
ssh_key_path="$HOME/.ssh/id_rsa"
|
ssh_key_path="$HOME/.ssh/id_rsa"
|
||||||
if [ ! -f "$ssh_key_path" ]; then
|
if [ ! -f "$ssh_key_path" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user