You are not logged in.

#1 2014-04-10 11:34:29

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Systemd-Networkd - post_up and pre_down script?

I've used the old netcfg before, now I reinstall a system and configure my network-cards with systemd-networkd.

I used the POST_UP and PRE_DOWN-functions for issuing a command, how do I map this functionality to networkd-systemd?

Offline

#2 2014-04-10 12:04:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Systemd-Networkd - post_up and pre_down script?

Depends on just what you are trying to do.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2014-04-10 12:10:45

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Systemd-Networkd - post_up and pre_down script?

Mr.Elendig wrote:

Depends on just what you are trying to do.

What exactly do you mean?

I need to run a command when the device is up and before its going to be down.

How is this possible?

Offline

#4 2014-04-11 13:05:33

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Systemd-Networkd - post_up and pre_down script?

Exactly what commands do you need to run?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB