Add Debian support

This commit is contained in:
Jeffrey Serio 2024-11-24 05:05:05 -06:00
parent 5826686d70
commit fb4cc4abfa

View File

@ -304,7 +304,11 @@ function setup_rsyslog_conf() {
# After: setup_networkd_conf
function disable_services() {
action_label "DISABLING SYSTEMD SERVICES"
for service in "${services_disable[@]}"; do sudo systemctl disable --now "$service"; done
for service in "${services_disable[@]}"; do
if sudo systemctl is-active "$service"; then
sudo systemctl disable --now "$service"
fi
done
}
# After: