[ LUGOS ] [Fwd: mgetty]

Gasper Fele gasper.fele na guest.arnes.si
Pon Jul 14 22:59:09 CEST 1997


Message-ID: <33CA91F1.815DCAF na guest.arnes.si>
Date: Mon, 14 Jul 1997 22:54:09 +0200
From: Gasper Fele <gasper.fele na guest.arnes.si>
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.30 i486)
MIME-Version: 1.0
To: lugos0list na lugos.si
Subject: mgetty
Content-Type: multipart/mixed; boundary="------------6C13E70567CA6BFE88560EB"

This is a multi-part message in MIME format.

--------------6C13E70567CA6BFE88560EB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tukaj je moj inittab.

Ne glede na to, katero vrstico (izmed tistih, ki se zacneta z d1: )
odkomentiram, mi modem noce sprejemati ukazov (iz npr. minicoma).

zakaj ?

--------------6C13E70567CA6BFE88560EB
Content-Type: text/plain; charset=us-ascii; name="inittab"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="inittab"

#
# inittab	This file describes how the INIT process should set up
#		the system in a certain run-level.
#
# Version:	@(#)inittab		2.04	17/05/93	MvS
#                                       2.10    02/10/95        PV
#
# Author:	Miquel van Smoorenburg, <miquels na drinkel.nl.mugnet.org>
# Modified by:	Patrick J. Volkerding, <volkerdi na ftp.cdrom.com>
#
# Default runlevel.
id:3:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:23456:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails (shutdown to single user).
pf::powerfail:/sbin/shutdown -f +5 "THE POWER IS FAILING"

# If power is back before shutdown, cancel the running shutdown.
pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"

# If power comes back in single user mode, return to multi user mode.
ps:S:powerokwait:/sbin/init 5

# The getties in multi user mode on consoles an serial lines.
#
# NOTE NOTE NOTE adjust this to your getty or you will not be
#                able to login !!
#
# Note: for 'agetty' you use linespeed, line.
# for 'getty_ps' you use line, linespeed and also use 'gettydefs'
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Serial lines
s1:12345:respawn:/sbin/agetty -L 9600 ttyS0 ansi 
#s2:12345:respawn:/sbin/agetty 19200 ttyS1 vt100

# Dialup lines
# d1:12345:respawn:/usr/local/sbin/mgetty /dev/modem -x 0 -n 6 -D -a -m '"" ATZ\r OK'
#d1:12345:respawn:/sbin/agetty -I ATS0=6\015 -mt60 38400,19200,9600,2400,1200 ttyS3 ansi
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 used to be for an X-window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all 
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something 
# happens to X.
x1:4:wait:/etc/rc.d/rc.4

# End of /etc/inittab


--------------6C13E70567CA6BFE88560EB--





Dodatne informacije o seznamu Starilist