From 15b417cccd06929665e36582fc841c8519a6f38b Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 18 Feb 2022 10:52:51 -0500 Subject: [PATCH] test --- template_setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template_setup.sh b/template_setup.sh index 2c120d1..4be6734 100644 --- a/template_setup.sh +++ b/template_setup.sh @@ -5,12 +5,12 @@ topgrade nssdb_dir="/etc/ipa/nssdb" echo "Checking if Directory $nssdb_dir contains Membership to FreeIPA Realm" -realm_join = 0 +realm_join=0 if [ -d "$nssdb_dir" ] then if [ "$(ls -A $nssdb_dir)" ]; then echo "Directory $nssdb_dir is not Empty." - realm_join = 1 + realm_join=1 echo "ipa-client appears to already be joined to FreeIPA Server Realm" else echo "$nssdb_dir is Empty" @@ -21,7 +21,7 @@ fi if [[ $HOSTNAME == *template* ]]; then echo "Hostname $HOSTNAME contains the word 'template', skipping realm joining" - realm_join = 0 + realm_join=0 fi if [ "$realm_join" == 1 ]; then