Posted on 2007-11-29 12:32
dybjsun 閱讀(573)
評論(0) 編輯 收藏 所屬分類:
Linux專題
在
命令行或者X-windows下修改/etc/inittab文件,代碼如下:
.......
# Default runlevel. The runlevels used by RHS are:
#??? 0 - halt (Do NOT set initdefault to this)
#??? 1 - Single user mode
#??? 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#??? 3 - Full multiuser mode
#??? 4 - unused
#??? 5 - X11
#??? 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
........
3為命令行,5為X-Windows