harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / busybox / S50telnet
blob82952b8cb80480a7f458519c7c32dc084deef451
1 #!/bin/sh
3 # Start telnet....
6 TELNETD_ARGS=-F
7 [ -r /etc/default/telnet ] && . /etc/default/telnet
9 start() {
10 printf "Starting telnetd: "
11 start-stop-daemon -S -q -m -b -p /var/run/telnetd.pid \
12 -x /usr/sbin/telnetd -- $TELNETD_ARGS
13 [ $? = 0 ] && echo "OK" || echo "FAIL"
16 stop() {
17 printf "Stopping telnetd: "
18 start-stop-daemon -K -q -p /var/run/telnetd.pid \
19 -x /usr/sbin/telnetd
20 [ $? = 0 ] && echo "OK" || echo "FAIL"
23 case "$1" in
24 start)
25 start
27 stop)
28 stop
30 restart|reload)
31 stop
32 start
35 echo "Usage: $0 {start|stop|restart}"
36 exit 1
37 esac
39 exit $?