Debian equivalent

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

 



Hi Dan,
I don't recall anyone ever gave you a satisfactory answer--excuse me if 
you have received one.
For almost an exact equivalent you could create a file in /etc/init.d and 
call it local.
Then with your favorite editor you could put in whatever commands you 
want.
Then you could issue the command:
update-rc.d local start 99 2 3 4 5 . stop 20 2 3 4 5 .
Pay attention to the output from update-rc.d. Remember to include the 
periods in the above command--presumably they tell the update-rc.d 
program when the start and stop actions end.
   :Now, I would strongly discourage putting firewall commands in rc.local. 
You want your firewall to execute before your eth0 or whatever comes up. 
So, go cd /etc.
mkdir firewall
cp your_firewall_script /etc/firewall
cd /etc/init.d
ln -s /etc/firewall/your_firewall_script firewall
update-rc.d firewall start 07 2 3 4 5 . stop 90  2 3 4 5 .
Notice the low sequence number for starting.
Hope this helps.

      Jim Wantz



On Mon, 20 Mar 2006, Dan Murphy wrote:

> Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
> this is usually where you might store certain local settings in other
> distros.
> I want to use it to pass a few parameters to Speakup at boot time.
> thanks.
>
> Greenwood Bbs, Lake Placid, NY
> telnet://greenwoodbbs.homeunix.com
> telnet://greenwoo.synchro.net
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux