On Fri, 30 Jan 2015 15:49:48 +0300, Oleg wrote:

> > > Is this the right way to do this?  
> > 
> > If you want those commands run when lo comes up, yes.  
> 
> No. I want those commands run as network initialization actions, once
> at system startup.

The postup function is called whenever an interface comes up. You script
ensures it is only run when the interface is lo, which n the normal
course of events only comes up when the system boots.

If that's not what you want, look at placing a script in /etc/local.d
(there's a README file in there with more information).


-- 
Neil Bothwick

why do kamikazee pilots wear helmets?

Attachment: pgpZ7WUaXLC3F.pgp
Description: OpenPGP digital signature

Reply via email to