u
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user