3 SRC_URI += "file://busybox-telnetd.xinetd.in \
4 file://busybox-telnetd@.service \
5 file://busybox-telnetd.socket \
6 file://0001-ifupdown-support-post-up-pre-down-hooks.patch \
7 file://0002-ifupdown-code-shrink.patch \
8 file://0003-ifupdown-remove-interface-from-state_list-if-iface_u.patch \
9 file://0004-ifupdown-support-metric-for-static-default-gw.patch \
10 file://0005-ifupdown-improve-compatibility-with-Debian.patch \
11 file://0006-get_linux_version_code-don-t-fail-on-3.0-foo.patch \
12 file://0001-work-around-linux-ext2_fs.h-breakage.patch \
13 file://0002-Create-and-use-our-own-copy-of-linux-ext2_fs.h.patch \
14 file://0003-Drop-include-bb_linux_ext2_fs.h-use-existing-e2fspro.patch \
15 file://mount_single_uuid.patch \
18 inherit systemd xinetd
21 if grep -q "CONFIG_CRONTAB=y" ${WORKDIR}/defconfig; then
22 install -d ${D}${sysconfdir}/cron/crontabs
24 install -d ${D}${systemd_unitdir}/system
25 ln -sf /dev/null ${D}${systemd_unitdir}/system/busybox-telnetd.service
28 FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
30 SYSTEMD_PACKAGES += "${PN}-systemd"
31 SYSTEMD_SERVICE_${PN}-systemd = "busybox-telnetd.socket"
33 XINETD_PACKAGES = "${PN}-xinetd"
34 XINETD_SERVICE_${PN}-xinetd = "busybox-telnetd"