This commit is contained in:
deathbybandaid 2022-02-18 11:41:50 -05:00
parent 6c3662a2e2
commit 5df8345228

View File

@ -5,7 +5,7 @@ echo "Running topgrade"
echo "Checking if Directory $nssdb_dir contains Membership to FreeIPA Realm" echo "Checking if Directory $nssdb_dir contains Membership to FreeIPA Realm"
realm_join=0 realm_join=0
if [[ -f /var/lib/ipa-client/sysrestore/sysrestore.state ]] if [[ ! -f /var/lib/ipa-client/sysrestore/sysrestore.state ]]
then then
echo "$HOSTNAME appears to not be joined to FreeIPA Server Realm" echo "$HOSTNAME appears to not be joined to FreeIPA Server Realm"
realm_join=1 realm_join=1