我打开了之后没看到这个,我只看到了以下:并行启动程序
这将会使启动程序并行,加速启动过程
代码:
sudo vim /etc/init.d/rc
找到并修改该行:
CONCURRENCY=none
为:
CONCURRENCY=shell
确保你的拼写正确,写错一个字母你将无法启动!!!
如果你使用的是SATA 或SCSI,这个方法会发挥最大的作用,然而即使像我使用ATA这样的机器上,这个方法也使得的GDM登录界面出现的更快了一些。
如果你使用很老的硬件,这个方法也可能会使你的机器启动变慢
代码: 全选
#! /bin/sh
#
# rc
#
# Starts/stops services on runlevel changes.
#
# Optimization: A start script is not run when the service was already
# configured to run in the previous runlevel. A stop script is not run
# when the the service was already configured not to run in the previous
# runlevel.
#
# Authors:
# Miquel van Smoorenburg <miquels@cistron.nl>
# Bruce Perens <Bruce@Pixar.com>
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
# Un-comment the following for debugging.
# debug=echo
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'shell'.
"/etc/init.d/rc" [converted] 339L, 7894C