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

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
}