Skip to content
Snippets Groups Projects
Commit b8327a44 authored by Bob Mottram's avatar Bob Mottram
Browse files

User agent setup not needed for users during backup

parent e0832a2d
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,6 @@ function backup_users {
for d in /home/*/ ; do
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
gpg_agent_setup $USERNAME
# Backup any gpg keys
if [ -d /home/$USERNAME/.gnupg ]; then
echo $"Backing up gpg keys for $USERNAME"
......
......@@ -157,8 +157,6 @@ function backup_users {
for d in /home/*/ ; do
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
gpg_agent_setup $USERNAME
# personal settings
if [ -d /home/$USERNAME/personal ]; then
echo $"Backing up personal settings for $USERNAME"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment