summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/inetd.initd
blob: 744c393aa8d30fe80b32da43693dafd80bef06a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript

depend() {
	need net
	after firewall
}

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 $?
}