Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] netifrc & system init actions
Date: Fri, 30 Jan 2015 13:56:17
Message-Id: 20150130135603.6d46dd0f@digimed.co.uk
In Reply to: Re: [gentoo-user] netifrc & system init actions by Oleg
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?

Replies

Subject Author
Re: [gentoo-user] netifrc & system init actions Oleg <lego12239@××××××.ru>