#!/bin/sh # This script produces an /etc/inittab file with some configurable changes # # Copyright (C) 2002,03 NEC Electronics Corporation # Copyright (C) 2002,03 Miles Bader # # This file is subject to the terms and conditions of the GNU General Public # License. See the file "COPYING" in the main directory of this archive # for more details. # # Written by Miles Bader E () { echo "$1:${3:-unknown}:${2:-"/bin/$1"}" } #inet:unknown:/bin/inetd #boa:unknown:/bin/boa #ttyS0:vt100:/bin/agetty -l /bin/login ttyS0 19200 [ "$CONFIG_USER_THTTPD_THTTPD" = y ] && E thttpd "/bin/thttpd -c /cgi-bin/*" [ "$CONFIG_USER_INETD_INETD" = y ] && E inetd