This commit is contained in:
committer@tuxwarrior
2025-04-19 15:10:58 -05:00
parent c648fcdf83
commit 9cb1d523bb

View File

@@ -157,17 +157,18 @@ do_services() {
mapfile -t services < ${trg_file} mapfile -t services < ${trg_file}
list=() for x in ${services[@]}; do
for x in ${services[@]}
do
if [[ "${x}" =~ ^#.* ]]; then echo ">>> ${x}"
echo "skipping comment ${x}"
continue if [[ "${x}" =~ ^#.* ]]; then
fi echo "skipping comment ${x}"
continue
fi
echo "systemctl enable ${x}"
# systemctl enable ${x}
echo "systemctl enable ${x}"
systemctl enable ${x}
done done
} }