aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/ofono/ofono_1.12.bbappend
blob: a5f3be8f7c2cf1c7bc1a624a50fa6a37262ab5a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PRINC := "${@int(PRINC) + 4}"

inherit systemd

PACKAGES =+ "${PN}-systemd"

SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "ofono.service"
SYSTEMD_AUTO_ENABLE = "disable"

# Don't register init scripts
INITSCRIPT_NAME = ""
INITSCRIPT_PARAMS = ""

# Remove init scripts
do_install_append() {
	case "${DISTRO_FEATURES}" in
		*systemd*) rm -rf ${D}${sysconfdir}/init.d/
	esac
}