diff --git a/recipes-apps/images/sysmocom-nitb-image.bb b/recipes-apps/images/sysmocom-nitb-image.bb index 14f7330..1ab5982 100644 --- a/recipes-apps/images/sysmocom-nitb-image.bb +++ b/recipes-apps/images/sysmocom-nitb-image.bb @@ -1,14 +1,3 @@ require sysmocom-image.inc IMAGE_INSTALL_append = " task-sysmocom " - -# This variant of the image will run osmo-bts and osmo-nitb -activate_nitb() { - echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-nitb -} - -activate_systemd_nitb() { - ln -sf ${systemd_system_unitdir}/osmo-nitb.service ${IMAGE_ROOTFS}/etc/systemd/system/multi-user.target.wants/ -} - -IMAGE_PREPROCESS_COMMAND += "${@bb.utils.contains('DISTRO_FEATURES','systemd','activate_systemd_nitb','activate_nitb',d)}; "