Fix systemd-resolved, backup

This commit is contained in:
thorstenspille 2023-10-29 22:59:43 +01:00
parent 3ce6d7c2ae
commit 2164f6d2ce

View File

@ -121,7 +121,7 @@ cat > /etc/krb5.conf <<EOF
EOF EOF
# stop + disable samba services and remove default config # stop + disable samba services and remove default config
systemctl disable --now smbd nmbd winbind systemd-resolved systemctl disable --now smbd nmbd winbind systemd-resolved > /dev/null 2>&1
rm -f /etc/samba/smb.conf rm -f /etc/samba/smb.conf
echo -e "$ZMB_ADMIN_PASS" | kinit -V $ZMB_ADMIN_USER echo -e "$ZMB_ADMIN_PASS" | kinit -V $ZMB_ADMIN_USER
@ -216,5 +216,3 @@ cat << EOF > /etc/logrotate.d/smb-backup
create 644 root root create 644 root root
} }
EOF EOF
smb-backup 7