分页: 1 / 1

[问题]求助,ubuntu关闭问题关于rc.local

发表于 : 2008-04-28 10:11
g_xw_86
昨晚关机时,点完关闭按钮后,并没有想以前一样立即出现关机进度条,而是出现了一大堆字符,然后在这页面停了一段时间才关机,以前并没有出现这种问题,我用的是8.04
那堆字符中只记得有Running local boot scripts (/etc/rc.local) [ok] 等,哪位大大帮忙解决一下阿,多谢了,大家能不能把自己的rc.local贴出来让小弟参考一下
以下是我现在的rc.local:

代码: 全选

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
又重启了一遍,再看了一下,有什么开启蓝牙服务,打印服务等等[ok]
最后还有一大串debug……

发表于 : 2008-04-29 21:00
Batlittle
顶一下,期待解决

发表于 : 2008-04-29 21:02
Batlittle
貌似楼主贴出来的全是注释把(除了最后一行)

发表于 : 2008-05-01 6:33
g_xw_86
Batlittle 写了:貌似楼主贴出来的全是注释把(除了最后一行)
我当然知道都是注释,但是rc.local文件本来就是这样的,难道让我自己加上一些东西不成?

发表于 : 2008-05-01 6:41
tg8866
不是这个文件的问题。这是一个空文件。

出一堆是 network-manager 的问题吧。

我就是这样。关机的时候一堆 network-manager的提示信息。不用管他们了。或者换用 wicd 管理网络连接。