summaryrefslogtreecommitdiffstats
path: root/inetutils/inetd
blob: b70001cf93e4594a8e49b93883b0aeabc996754c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
# /etc/rc.d/inetd: start/stop inet daemon
#

case $1 in
start)
	/usr/sbin/inetd
	;;
stop)
	killall -q /usr/sbin/inetd
	;;
restart)
	$0 stop
	sleep 2
	$0 start
	;;
*)
	echo "usage: $0 [start|stop|restart]"
	;;
esac

# End of file