summaryrefslogtreecommitdiffstats
path: root/systemd/net-auto-wired.service
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-08-20 13:13:35 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-08-20 13:13:35 +0200
commit1227a80b24c943438757e933bd568ceddd00479b (patch)
treee88638495f85726377dfa6cf4279ab31c3f54534 /systemd/net-auto-wired.service
parentec0e041a8eab919abef8e3af289c979ee1737382 (diff)
downloadnetctl-1227a80b24c943438757e933bd568ceddd00479b.tar.gz
netctl-1227a80b24c943438757e933bd568ceddd00479b.tar.xz
Reorganize files to match install location closer
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'systemd/net-auto-wired.service')
-rw-r--r--systemd/net-auto-wired.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/net-auto-wired.service b/systemd/net-auto-wired.service
new file mode 100644
index 0000000..b356fef
--- /dev/null
+++ b/systemd/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