Re: Where to place rc.local?
看你的 runlevel 為何,
例如 runlevel 為 2 的話,
可以在 /etc/rc2.d/ 目錄下建一個 "S??" (??為數字)開頭的檔案,
把這個檔案 link 到你的 rc.local 檔即可......
你可以參考一下 /etc/rc.d/rcS 這個 script 就知道為甚麼要這樣做了 :)
ejoy wrote:
>Debian的使用者們,您好!
> 我寫了一個rc.local腳本,用來在系統初啟時進行一些初始化操作。
> /etc/下有rc.boot,rc0.d - rc6.d幾個目錄。我放到rc.boot目錄中
>好像沒有效果,不知道應該放到那裡?
>
>
> 致
>禮!
>
> ejoy
> ejoy at peoplemail.com.cn
> 2001-08-31 18:33:37
>N□I@R □□hu駙jw!□□□□操b槽y□□嗦+aj□□-←□騍r□y:韞□
>□i□□fj□□□□n&□□-
>| This message was re-posted from debian-chinese-gb@lists.debian.org
>| and converted from gb2312 to big5 by an automatic gateway.
>
>
Reply to: