From 4010af077ed3a5aeafa57a2ff91e53b16501028d Mon Sep 17 00:00:00 2001 From: udeved Date: Mon, 22 Dec 2014 23:20:50 +0100 Subject: [PATCH] fix systemd service autoconfig --- lib/util-iso.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/util-iso.sh b/lib/util-iso.sh index ff4569b..e18ebdf 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -58,11 +58,10 @@ configure_services_live(){ else msg2 "Congiguring SystemD ...." for svc in ${start_systemd_live[@]}; do - msg2 "Setting $svc ..." - if [[ -f $1/usr/lib/systemd/system/$svc ]];then +# if [[ -f $1/usr/lib/systemd/system/$svc ]];then msg2 "Setting $svc ..." chroot-run $1 systemctl enable $svc - fi +# fi done fi } @@ -80,11 +79,10 @@ configure_services(){ else msg2 "Congiguring SystemD ...." for svc in ${start_systemd[@]}; do - msg2 "Setting $svc ..." - if [[ -f $1/usr/lib/systemd/system/$svc ]];then +# if [[ -f $1/usr/lib/systemd/system/$svc ]];then msg2 "Setting $svc ..." chroot-run $1 systemctl enable $svc - fi +# fi done fi }