generated from alice-meta-packages/alice-meta-template
update postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s
Details
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s
Details
This commit is contained in:
parent
888d29dcd9
commit
1ef4bcc602
|
@ -7,4 +7,9 @@ set -e
|
|||
db_get alice-auth/ldap-bind-password
|
||||
CONFIG=/etc/sssd/sssd.conf
|
||||
|
||||
if [ ! -f "$CONFIG" ]; then
|
||||
echo "Error: Configuration file $CONFIG does not exist."
|
||||
exit 10
|
||||
fi
|
||||
|
||||
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG
|
||||
|
|
Loading…
Reference in New Issue