diff --git a/DEBIAN/postinst b/DEBIAN/postinst index d79fbf4..dba0eee 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -1,4 +1,5 @@ #!/bin/sh set -e # Restart NFS and autofs services -systemctl restart autofs \ No newline at end of file +sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf; +systemctl enable --now autofs \ No newline at end of file