Update DEBIAN/postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 5s Details

This commit is contained in:
Carneiro 2024-09-09 20:56:25 -03:00
parent e8f0a2febf
commit 0ba517226a
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
# Restart NFS and autofs services
systemctl restart autofs
sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf;
systemctl enable --now autofs