1 |
On Fri, 30 Jan 2015 15:49:48 +0300, Oleg wrote: |
2 |
|
3 |
> > > Is this the right way to do this? |
4 |
> > |
5 |
> > If you want those commands run when lo comes up, yes. |
6 |
> |
7 |
> No. I want those commands run as network initialization actions, once |
8 |
> at system startup. |
9 |
|
10 |
The postup function is called whenever an interface comes up. You script |
11 |
ensures it is only run when the interface is lo, which n the normal |
12 |
course of events only comes up when the system boots. |
13 |
|
14 |
If that's not what you want, look at placing a script in /etc/local.d |
15 |
(there's a README file in there with more information). |
16 |
|
17 |
|
18 |
-- |
19 |
Neil Bothwick |
20 |
|
21 |
why do kamikazee pilots wear helmets? |