diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 9771a47..bfb7ac1 100755 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -157,17 +157,18 @@ do_services() { mapfile -t services < ${trg_file} - list=() - for x in ${services[@]} - do + for x in ${services[@]}; do - if [[ "${x}" =~ ^#.* ]]; then - echo "skipping comment ${x}" - continue - fi + echo ">>> ${x}" + + if [[ "${x}" =~ ^#.* ]]; then + echo "skipping comment ${x}" + continue + fi + + echo "systemctl enable ${x}" +# systemctl enable ${x} - echo "systemctl enable ${x}" - systemctl enable ${x} done }