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.
>
>
--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: