diff options
Diffstat (limited to 'main/busybox-initscripts/inetd.initd')
-rw-r--r-- | main/busybox-initscripts/inetd.initd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/busybox-initscripts/inetd.initd b/main/busybox-initscripts/inetd.initd new file mode 100644 index 0000000000..b5cf9d7d3e --- /dev/null +++ b/main/busybox-initscripts/inetd.initd @@ -0,0 +1,18 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting busybox inetd" + start-stop-daemon --start --exec /usr/sbin/inetd -- $INETD_OPTS + eend $? +} + +stop () { + ebegin "Stopping busybox inetd" + start-stop-daemon --stop --exec /usr/sbin/inetd + eend $? +} + |