mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 03:30:12 +01:00
Fix systemd-resolved, backup
This commit is contained in:
parent
3ce6d7c2ae
commit
2164f6d2ce
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user