mkimage-profiles/features.in/slinux/live/image-scripts.d/50-services
Mikhail Efremov edd2392cbb slinux/live: Enable livecd-* services only
All other services should be added to SYSTEMD_SERVICES_* and
handled by rootfs image script.
2020-05-22 13:34:36 +07:00

22 lines
306 B
Bash
Executable File

#!/bin/sh
# see also m-p-d::profiles/live/image-scripts.d/init3-services
ENABLE="
livecd-setlocale
livecd-evms
livecd-save-nfs
livecd-timezone
"
DISABLE="
"
for i in $ENABLE; do
/bin/systemctl --no-reload enable "$i" ||:
done
for i in $DISABLE; do
/bin/systemctl --no-reload disable "$i" ||:
done
: