User agent setup not needed for users during backup
This commit is contained in:
parent
e0832a2d4f
commit
b8327a4461
|
@ -113,8 +113,6 @@ function backup_users {
|
||||||
for d in /home/*/ ; do
|
for d in /home/*/ ; do
|
||||||
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||||
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
|
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
|
||||||
gpg_agent_setup $USERNAME
|
|
||||||
|
|
||||||
# Backup any gpg keys
|
# Backup any gpg keys
|
||||||
if [ -d /home/$USERNAME/.gnupg ]; then
|
if [ -d /home/$USERNAME/.gnupg ]; then
|
||||||
echo $"Backing up gpg keys for $USERNAME"
|
echo $"Backing up gpg keys for $USERNAME"
|
||||||
|
|
|
@ -157,8 +157,6 @@ function backup_users {
|
||||||
for d in /home/*/ ; do
|
for d in /home/*/ ; do
|
||||||
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||||
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
|
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
|
||||||
gpg_agent_setup $USERNAME
|
|
||||||
|
|
||||||
# personal settings
|
# personal settings
|
||||||
if [ -d /home/$USERNAME/personal ]; then
|
if [ -d /home/$USERNAME/personal ]; then
|
||||||
echo $"Backing up personal settings for $USERNAME"
|
echo $"Backing up personal settings for $USERNAME"
|
||||||
|
|
Loading…
Reference in New Issue