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

Re: /etc/init.d/networking does not start everything in /etc/network/interfaces



On Wednesday 18 May 2016 14:42:27 Elimar Riesebieter wrote:
> * Lisi Reisz <lisi.reisz@gmail.com> [2016-05-18 12:31 +0100]:
> > On Tuesday 17 May 2016 18:29:36 Elimar Riesebieter wrote:
>
> [...]
>
> > > /etc/init.d/networking stop does ifdown -a
> > > /etc/init.d/networking start does ifup -a
> >
> > But
> > # ifdown -a; ifup -a
> > is much more elegant!!
>
> I would use '&&' in favour of ';' as ';' doesn't wait to complete
> the job:
>
> # ifdown -a && ifup -a

Sorry.  Granted.  I should ghave thought of that. 

> is much more secure!!

BUT if ifdown doesn't successfully complete, it is surely not insecure?  You 
just might not achieve your objective of restarting the whole caboosh.

Lisi


Reply to: