xbee: add missing inherits

These classes needs to be inherited so the different init services
(sysv, systemd) execute the script on boot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2020-01-03 15:02:36 +01:00
parent 0aa52b8a6e
commit 21945b1807
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ SRC_URI = " \
" "
S = "${WORKDIR}" S = "${WORKDIR}"
inherit systemd update-rc.d
do_install() { do_install() {
install -d ${D}${sysconfdir}/init.d/ install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/xbee-init ${D}${sysconfdir}/ install -m 0755 ${WORKDIR}/xbee-init ${D}${sysconfdir}/