我的家用电脑上有Ubuntu lucid.今天我正在尝试运行级别,我无法弄清楚如何更改Ubuntu的默认运行级别.我可以在Debian 504上使用/ etc / inittab做到这一点但是Ubuntu中没有该文件.我在网上搜索过但无法找到答案.
提前致谢.
按照init init:
原文链接:https://www.f2er.com/ubuntu/348487.htmlThe /etc/inittab file was the configuration file used by the original System V init(8) daemon. The Upstart init(8) daemon does not use this file,and instead reads its configuration from files in /etc/init. See init(5) for more details.
如果你查看/etc/init/rc-sysinit.conf,你应该找到一个类似于这样的行:
# Default runlevel,this may be overriden on the kernel command-line # or by faking an old /etc/inittab entry env DEFAULT_RUNLEVEL=2
要么更改它,要么使用手动生成的/ etc / inittab.