sd_2001 发表于 2004-3-11 12:19:05

[救命]Inittab文件被误删!!!

由于我操作不当,误把inittab文件删除,
大哥们能不能给我贴一个出来?

小弟在这里先谢谢您了。

superhu 发表于 2004-3-11 12:40:24

我的是这样的,呵呵,你根据需要自己改吧!

#
# /etc/inittab:This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:Miquel van Smoorenburg, <[email protected]>
# Modified by:Patrick J. Volkerding, <[email protected]>
# Modified by:Daniel Robbins, <[email protected]>
# Modified by:Martin Schlemmer, <[email protected]>
#
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/inittab,v 1.6 2003/01/06 21:32:43 azarah Exp $

#
# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

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

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh

# End of /etc/inittab

sd_2001 发表于 2004-3-11 12:54:39

superhu

太感谢你了!!

55555,我终于可以关机了。

sd_2001 发表于 2004-3-11 22:08:16

不行呀,系统当掉了。

谁有Magic Linux 1.2 pre5的inittab文件呀?
能不能贴出来?

谢谢!
页: [1]
查看完整版本: [救命]Inittab文件被误删!!!