1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 02:15:28 +03:00
openwrt-xburst/package/base-files/default/etc/init.d/S50telnet
nbd ed5ef674d1 add copyright headers to base-files scripts and config files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:36:13 +00:00

5 lines
145 B
Bash
Executable File

#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null; then telnetd -l /bin/login; fi