alice-auth/DEBIAN/postinst

18 lines
320 B
Bash
Executable File

#!/bin/bash
set -e
. /usr/share/debconf/confmodule
db_get alice-auth/ldap-bind-password
# CONFIG=/etc/sssd/sssd.conf
echo $RET
# 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