[util-yaml] update script

This commit is contained in:
Philip Mueller 2023-05-26 13:02:47 +02:00
parent 0f27b81f10
commit 95b66c254d

View file

@ -81,7 +81,7 @@ write_services_conf(){
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then
echo 'services:' >> "$conf"
else
echo 'units:'
echo 'units:' >> "$conf"
fi
for s in ${enable_systemd[@]}; do
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then