/ handling comments in services.txt
This commit is contained in:
@@ -160,6 +160,11 @@ do_services() {
|
||||
list=()
|
||||
for x in ${services[@]}
|
||||
do
|
||||
|
||||
if [[ "${x}" =~ ^#.* ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
echo "systemctl enable ${x}"
|
||||
systemctl enable ${x}
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user