1 Feb
2015
1 Feb
'15
11:48 a.m.
This patch adds the ability to pass environment variables to the network script. This allows to enable debugging by adding the "NETCTL_DEBUG=yes" into the /etc/conf.d/netctl file. Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com> --- services/netctl@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/services/netctl@.service b/services/netctl@.service index b8a19c2..576617f 100644 --- a/services/netctl@.service +++ b/services/netctl@.service @@ -8,5 +8,6 @@ Wants=network.target [Service] Type=oneshot RemainAfterExit=yes +EnvironmentFile=-/etc/conf.d/netctl ExecStart=/usr/lib/network/network start %I ExecStop=/usr/lib/network/network stop %I -- 2.2.2