aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox-initscripts/inetd.initd
blob: b5cf9d7d3ecdb3ac383a8da0f46f9dc45ecbe01f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 $?
}