diff options
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd/xinetd.default | 12 | ||||
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-extended/xinetd/xinetd/xinetd.default b/meta/recipes-extended/xinetd/xinetd/xinetd.default new file mode 100644 index 0000000000..20a38e3f3e --- /dev/null +++ b/meta/recipes-extended/xinetd/xinetd/xinetd.default @@ -0,0 +1,12 @@ +# Default settings for xinetd. This file is sourced by /bin/sh from +# /etc/init.d/xinetd + +# enable xinetd Inetd compat mode +INETD_COMPAT=Yes + +# Options to pass to xinetd +# +# -stayalive comes by default : it can be removed if xinetd is expected +# not to start when no service is configured +# +XINETD_OPTS="-stayalive" diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb index 3d55e99712..a1421436c6 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb @@ -12,6 +12,7 @@ PR = "r0" SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ file://xinetd.init \ file://xinetd.conf \ + file://xinetd.default \ file://Various-fixes-from-the-previous-maintainer.patch \ file://Disable-services-from-inetd.conf-if-a-service-with-t.patch \ file://xinetd-should-be-able-to-listen-on-IPv6-even-in-ine.patch \ @@ -40,8 +41,10 @@ do_install() { install -d "${D}/usr/sbin" install -d "${D}/etc/init.d" install -d "${D}/etc/xinetd.d" + install -d "${D}/etc/default" install -m 644 "${WORKDIR}/xinetd.conf" "${D}/etc" install -m 755 "${WORKDIR}/xinetd.init" "${D}/etc/init.d/xinetd" + install -m 644 "${WORKDIR}/xinetd.default" "${D}/etc/default/xinetd" install -m 755 "${S}/xinetd/xinetd" "${D}/usr/sbin" install -m 755 "${S}/xinetd/itox" "${D}/usr/sbin" } |