configure_services only looks in /usr/libsystemd/

This commit is contained in:
udeved 2014-12-14 20:03:16 +01:00
parent bff59521d7
commit a50d0edaa0

View file

@ -52,10 +52,10 @@ configure_services(){
msg2 "Setting $svc ..."
chroot-run $1 systemctl enable $svc
fi
if [[ -f $1/etc/systemd/system/$svc ]];then
msg2 "Setting $svc ..."
chroot-run $1 systemctl enable $svc
fi
# if [[ -f $1/etc/systemd/system/$svc ]];then
# msg2 "Setting $svc ..."
# chroot-run $1 systemctl enable $svc
# fi
done
fi
}