[问题]求助,ubuntu关闭问题关于rc.local
发表于 : 2008-04-28 10:11
昨晚关机时,点完关闭按钮后,并没有想以前一样立即出现关机进度条,而是出现了一大堆字符,然后在这页面停了一段时间才关机,以前并没有出现这种问题,我用的是8.04
那堆字符中只记得有Running local boot scripts (/etc/rc.local) [ok] 等,哪位大大帮忙解决一下阿,多谢了,大家能不能把自己的rc.local贴出来让小弟参考一下
以下是我现在的rc.local:
又重启了一遍,再看了一下,有什么开启蓝牙服务,打印服务等等[ok]
最后还有一大串debug……
那堆字符中只记得有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
最后还有一大串debug……