[util-yaml] update script
This commit is contained in:
parent
0f27b81f10
commit
95b66c254d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue