summaryrefslogtreecommitdiffstats
path: root/ifplugd/net-auto-wired.service
diff options
context:
space:
mode:
Diffstat (limited to 'ifplugd/net-auto-wired.service')
-rw-r--r--ifplugd/net-auto-wired.service13
1 files changed, 13 insertions, 0 deletions
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