mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
Add back inetd and inetd.conf files which are needed if CONFIG_INETD is enabled in the defconfig. Grabbed these files from oe-classic This patch is based on the previous patch for denzil: http://patches.openembedded.org/patch/33235/ (From OE-Core rev: 929c738787b6f513ce235ed5f7753408a570d632) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
579 B
579 B
#!/bin/sh
start/stop inetd super server.
if ! [ -x /usr/sbin/inetd ]; then exit 0 fi
case "$1" in start) echo -n "Starting internet superserver:" echo -n " inetd" ; start-stop-daemon -S -x /usr/sbin/inetd > /dev/null echo "." ;; stop) echo -n "Stopping internet superserver:" echo -n " inetd" ; start-stop-daemon -K -x /usr/sbin/inetd > /dev/null echo "." ;; restart) echo -n "Restarting internet superserver:" echo -n " inetd " killall -HUP inetd echo "." ;; *) echo "Usage: /etc/init.d/inetd {start|stop|restart}" exit 1 ;; esac
exit 0