20 lines
554 B
Plaintext
20 lines
554 B
Plaintext
|
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||
|
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:"
|
||
|
PRINC = "6"
|
||
|
|
||
|
SRC_URI += "file://busybox-ifplugd.sh \
|
||
|
file://ifplugd.sh"
|
||
|
|
||
|
PACKAGES =+ "${PN}-ifplugd"
|
||
|
|
||
|
FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh"
|
||
|
|
||
|
INITSCRIPT_PACKAGES += "${PN}-ifplugd"
|
||
|
INITSCRIPT_NAME = "busybox-ifplugd.sh"
|
||
|
|
||
|
|
||
|
do_install_append() {
|
||
|
install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/
|
||
|
install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/
|
||
|
}
|