mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 11:53:43 +01:00
Add Debian support
This commit is contained in:
parent
5826686d70
commit
fb4cc4abfa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user