On 04/09/2011 08:00 PM, Nico Kadel-Garcia wrote:
Interesting. Why would you want to stop or restart "Brctl addif br1 eth1"?On Sat, Apr 9, 2011 at 10:14 PM, Todd And Margo Chester <[email protected]> wrote:On 04/10/2011 12:25 AM, Federico Alves wrote:Brctl addif br1 eth1Hi Federico, Back "in the day" before Virtual Box took care of the bridge itself, I use to put this kind of stuff into /etc/rc.d/rc.local. It is a bash script that runs at the very end of your boot up. Just and idea. -T p.s. which virtual machine are you using?Never use rc.local for this. Actually write an init script, based on those in /etc/init.d/, so that it can be turned *off* gracefully at reboot time or reset or restarted as needed. Editing rc.local directly is destabilizing, dangerous, and difficult to replicate reliably on other systems And, at least on my system, rc.local is started by S99local init.d]$ ls -al ../rc5.d/S99localI can see your point if you wanted to stop or restart things, or reverse them at shutdown, but if you only want to run them once, S99local (rc.local) is a good place to put them. I have done this for many years. Never once had a problem. What am I missing? -T |
- Problems with VMWare tools Nikola Wenta
- Re: Problems with VMWare tools Eero Volotinen
- Re: Problems with VMWare tools Lukas Press
- Re: Problems with VMWare tools Nico Kadel-Garcia
- repositories Federico Alves
- Re: repositories Akemi Yagi
- Re: repositories Todd And Margo Chester
- Bridges Federico Alves
- Re: Bridges Todd And Margo Chester
- Re: Bridges Nico Kadel-Garcia
- Re: Bridges Todd And Margo Chester
- Re: Bridges Nico Kadel-Garcia
- Re: Bridges Tom H
- Re: Bridges Todd And Margo Chester
- Re: Bridges Tom H
- Re: Bridges Joel Maslak
- Re: Bridges Federico Alves
- Re: Bridges Todd And Margo Chester
- [OT] Re: Bridges Phil Schaffner
- Re: repositories Federico Alves
- Re: repositories Todd And Margo Chester
