alice-auth/DEBIAN/postinst

18 lines
328 B
Plaintext
Raw Normal View History

2024-11-17 19:49:50 -03:00
#!/bin/bash
2024-11-17 20:01:55 -03:00
2024-11-17 20:42:19 -03:00
# set -e
2024-09-09 15:32:13 -03:00
2024-11-17 20:42:19 -03:00
# . /usr/share/debconf/confmodule
2024-11-17 19:49:50 -03:00
2024-11-17 20:42:19 -03:00
# db_get alice-auth/ldap-bind-password
2024-11-17 20:24:54 -03:00
# CONFIG=/etc/sssd/sssd.conf
2024-11-17 19:49:50 -03:00
2024-11-17 20:42:19 -03:00
# echo $RET
2024-11-17 20:22:37 -03:00
2024-11-17 20:24:54 -03:00
# if [ ! -f "$CONFIG" ]; then
# echo "Error: Configuration file $CONFIG does not exist."
# exit 9
# fi
#
# sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG