add new ar7 dsl driver (thanks, matteo), mark ar7-2.4 as broken and enable ar7-2.6
[openwrt.git] / package / busybox / files / telnet
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 start() {
5 if [ \! -f /etc/passwd ] || \
6 awk -F: '/^root:/ && ($2 != "") && ($2 !~ /\!/) {exit 1}' /etc/passwd 2>/dev/null || \
7 [ \! -x /usr/sbin/dropbear ]
8 then \
9 telnetd -l /bin/login
10 fi
11 }
12
13 stop() {
14 killall telnetd
15 }
This page took 0.041418 seconds and 5 git commands to generate.