Debian equivalent

Jim Wantz jwantz at comcast.net
Wed Mar 22 19:05:30 EST 2006


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
>




More information about the Speakup mailing list