[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



Reply to: