From 666aa2a2a091ea457dfd6cf40ab58687164d3f80 Mon Sep 17 00:00:00 2001 From: Ng Oon-Ee Date: Sat, 18 Jun 2011 12:48:57 +0200 Subject: Add systemd service files for net-auto-{wired,wireless} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Oudompheng --- ifplugd/net-auto-wired.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ifplugd/net-auto-wired.service (limited to 'ifplugd') diff --git a/ifplugd/net-auto-wired.service b/ifplugd/net-auto-wired.service new file mode 100644 index 0000000..b356fef --- /dev/null +++ b/ifplugd/net-auto-wired.service @@ -0,0 +1,13 @@ +[Unit] +Description=Provides automatic netcfg wired connection +Before=network.target + +[Service] +EnvironmentFile=/etc/rc.conf +EnvironmentFile=-/etc/ifplugd/ifplugd.conf +ExecStart=-/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIn -u0 -d10 +ExecStop=-/usr/sbin/ifplugd -k -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action +Type=simple + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-24-g4f1b