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

START='S50'
STOP='K60'

start()
{
	log 'Starting telnetd'
	start-stop-daemon -S -q -n telnetd -x /usr/sbin/telnetd
}

stop()
{
	log 'Stopping telnetd'
	start-stop-daemon -K -q -n telnetd
}