[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 請問debian相當¤_RH裡面的rc.local是哪個文件?



On Thu, Mar 22, 2001 at 07:41:58PM +0800, i1gnu@hkguy.com wrote:
> 只要把script放在/etc/rc.boot下便會每只boot機自動去執行, 但script file不能有
> ext, eg: my_script.sh, 這問題不知道是不是bugs
> 

Not really. Please read /etc/init.d/README and related documents.
Generally, you put your script in /etc/init.d and use update-rc.d
to actually make it run for you. man update-rc.d also helps.

/etc/init.d/skeleton is something you want to copy and paste
for your own init.d scripts.

-- 
Best regard
hashao

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: