summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/telnetd
blob: 98f668d513df60c627ccf7c858c1ca5e538e388c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh /etc/rc.common

START='50'
STOP='60'

start()
{
	log 'Starting telnetd'
	start-stop-daemon -S -q -p /var/run/telnetd.pid -m \
		-x /usr/sbin/telnetd -b -- -F
}

stop()
{
	log 'Stopping telnetd'
	start-stop-daemon -K -q -p /var/run/telnetd.pid
}