rc.local無法自動執行 - Linux

Table of Contents

※ 引述《maxwux (賓)》之銘言:
: 我把/etc/init.d/rc裡面的
: CONCURRENCY=none改為CONCURRENCY=shell
: 只要改成shell,rc.local就不會自動執行
: 但是改回none就又正常了
: 有人會解嗎??

首先你要先知道你 runlevel 是多少,如果是 kubuntu 預設是 2

所以你要先去檢查 /etc/rc2.d/S99rc.local,該程式會去執行

/etc/rc.local 裡面的 shell 程式,如果要調整開機不執行哪些程式

可以使用 update-rc.d 程式去改變開機所需執行的服務

可以參考一下:http://blog.wu-boy.com/2010/01/28/1978/

--
PHP MVC CodeIgniter 繁體中文手冊: http://tinyurl.com/mduyv8
PHP MVC CodeIgniter 繁體中文討論區:http://tinyurl.com/yayzoz8
PHP MVC CodeIgniter 中文官方網站: http://tinyurl.com/yatds8n
Appleboy Blog 電腦技術: http://blog.Wu-Boy.com

--

All Comments

Dorothy avatarDorothy2010-02-25
ㄟ~kubuntu的預設是2喔!!我也看過runlevel是2沒錯!
Odelette avatarOdelette2010-02-28
喔 Sorry 我以為跟 ubuntu 預設的是一樣
Zora avatarZora2010-03-04
在 ubuntu 系列 runlevel 2 跟 3 其實是一樣的