还有就是先删掉/etc/systemd/system/default.target 刚刚试了 OK 以命令行启动滴
tianlang1989 于 2012-03-15 20:19:27发表:
[code]# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -s /lib/systemd/system/.target /etc/systemd/system/default.target
[/code]按它说的应该是 将 用multi-user 应该就改成 level 3了吧...
于 2012-05-24 22:32:52发表:
改完是不是直接关命令窗口就可以了?
于 2012-04-02 20:48:48发表:
试下
tianlang1989 于 2012-03-15 20:24:54发表:
还有就是先删掉/etc/systemd/system/default.target 刚刚试了 OK 以命令行启动滴
tianlang1989 于 2012-03-15 20:19:27发表:
[code]# inittab is no longer used when using systemd..target /etc/systemd/system/default.target
用multi-user 应该就改成 level 3了吧...
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -s /lib/systemd/system/
[/code]按它说的应该是 将
zpjgcs 于 2012-03-15 15:04:28发表:
好的,顶一下
相思爱文 于 2012-03-15 01:45:55发表:
把文件内容贴出来
allan5220 于 2012-03-14 14:44:46发表:
就是觉得奇怪,我的inittab文件里面都是注释,我自己添加这一条会生效吗?
相思爱文 于 2012-03-14 09:25:55发表:
[i=s] 本帖最后由 相思爱文 于 2012-3-14 09:27 编辑 [/i]
同楼上
/etc/inittab中的 The default runlevel.改成3,类似于下面这样
id:3:initdefault:
compat 于 2012-03-14 08:53:54发表:
我知道的是/etc/inittab文件中把id:5改成3,有些版本不是这个路径了