我的家用电脑上有 Ubuntu lucid。今天我正在试验运行级别,但我不知道如何更改 Ubuntu 的默认运行级别。我可以在 Debian 504 上使用 /etc/inittab 来做到这一点,但该文件在 Ubuntu 中不存在。我在网上搜索过,但找不到答案。
提前致谢。
Kar*_*zak 10
根据man inittab
:
The /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.
Run Code Online (Sandbox Code Playgroud)
如果您查看一下,/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
Run Code Online (Sandbox Code Playgroud)
更改此设置或使用手动生成的/etc/inittab
.
归档时间: |
|
查看次数: |
17785 次 |
最近记录: |