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:
parent
0aa52b8a6e
commit
21945b1807
|
|
@ -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}/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue