summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/telnetd
diff options
context:
space:
mode:
Diffstat (limited to 'src.etc/init.d/telnetd')
-rwxr-xr-xsrc.etc/init.d/telnetd5
1 files changed, 2 insertions, 3 deletions
diff --git a/src.etc/init.d/telnetd b/src.etc/init.d/telnetd
index 4bb7613..e9630ea 100755
--- a/src.etc/init.d/telnetd
+++ b/src.etc/init.d/telnetd
@@ -6,12 +6,11 @@ STOP='60'
start()
{
log 'Starting telnet daemon'
- start-stop-daemon -S -q -p /var/run/telnetd.pid -m \
- -x /usr/sbin/telnetd -b -- -F
+ start-stop-daemon -S -q -x /usr/sbin/telnetd -b -- -F
}
stop()
{
log 'Stopping telnet daemon'
- start-stop-daemon -K -q -p /var/run/telnetd.pid
+ start-stop-daemon -K -q -x /usr/sbin/telnetd
}