u
This commit is contained in:
@@ -157,9 +157,9 @@ do_services() {
|
||||
|
||||
mapfile -t services < ${trg_file}
|
||||
|
||||
list=()
|
||||
for x in ${services[@]}
|
||||
do
|
||||
for x in ${services[@]}; do
|
||||
|
||||
echo ">>> ${x}"
|
||||
|
||||
if [[ "${x}" =~ ^#.* ]]; then
|
||||
echo "skipping comment ${x}"
|
||||
@@ -167,7 +167,8 @@ do_services() {
|
||||
fi
|
||||
|
||||
echo "systemctl enable ${x}"
|
||||
systemctl enable ${x}
|
||||
# systemctl enable ${x}
|
||||
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user