summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-06-24 23:49:45 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-06-24 23:49:45 +0200
commit90939503b37dcb1dc17e40b872862bafff47dbbb (patch)
treea46fd76ad6d5ae343ccefeeb3b77fc56afd72b11
parent82d594456df94421b458c1b340cd1ac4d34baa86 (diff)
downloadnetctl-90939503b37dcb1dc17e40b872862bafff47dbbb.tar.gz
netctl-90939503b37dcb1dc17e40b872862bafff47dbbb.tar.xz
Fix net-auto-wired.service (FS#30348)
The issue still needs proper fixing, but at least this makes things work again.
-rw-r--r--systemd/net-auto-wired.service7
1 files changed, 2 insertions, 5 deletions
diff --git a/systemd/net-auto-wired.service b/systemd/net-auto-wired.service
index 467b62e..9678a77 100644
--- a/systemd/net-auto-wired.service
+++ b/systemd/net-auto-wired.service
@@ -1,13 +1,10 @@
[Unit]
Description=Provides automatic netcfg wired connection
-Before=network.target
-Wants=network.target
[Service]
-Type=forking
EnvironmentFile=/etc/conf.d/netcfg
-ExecStart=/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIw -d10
-ExecStop=/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -k
+ExecStart=/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIns
+ExecStop=/usr/bin/netcfg iface-down $WIRED_INTERFACE
[Install]
WantedBy=multi-user.target