Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] conf.d/net and systemd
Date: Tue, 30 Jul 2013 08:20:59
Message-Id: 4633.1375172446@ccs.covici.com
In Reply to: Re: [gentoo-user] conf.d/net and systemd by "Canek Peláez Valdés"
1 Canek Peláez Valdés <caneko@×××××.com> wrote:
2
3 > On Mon, Jul 29, 2013 at 11:53 PM, <covici@××××××××××.com> wrote:
4 > > Hi there. I would like to know how I can use my existing conf.d/net if
5 > > I were to use systemd, or is there some better way to do this? I have
6 > > two static networks an internal and external one and use the postup for
7 > > things which must go online once the external network is up. I had to
8 > > use modules="!iproute2" to get the route to add properly, but it is
9 > > working now using openrc.
10 >
11 > If both networks are static I would use two service files for each,
12 > and the things that must go online can go in another service file
13 > (which calls a script for all of them), or with several (a service
14 > file for each thing), and which depends on the external network.
15 >
16 > You then not need to install anything else.
17
18 I like that, and I can do what was in the postup in there as well -- if
19 I don't mess up writing it all!
20
21 --
22 Your life is like a penny. You're going to lose it. The question is:
23 How do
24 you spend it?
25
26 John Covici
27 covici@××××××××××.com