@@ -1,6 +1,7 @@
[Unit]
Description=Automatic wireless network connection using netctl profiles
Documentation=man:netctl.special(7)
+Requisite=multi-user.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device network-pre.target
Before=network.target
@@ -14,4 +15,4 @@ ExecStop=/usr/bin/netctl-auto stop %I
ExecStopPost=/usr/bin/netctl-auto clean %I
[Install]
-WantedBy=multi-user.target
+WantedBy=sys-subsystem-net-devices-%i.device
@@ -1,6 +1,7 @@
[Unit]
Description=Automatic wired network connection using netctl profiles
Documentation=man:netctl.special(7)
+Requisite=multi-user.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device network-pre.target
@@ -9,4 +10,4 @@ NotifyAccess=all
ExecStart=/usr/bin/ifplugd -i %I -r /etc/ifplugd/netctl.action -bfIns
[Install]
-WantedBy=multi-user.target
+WantedBy=sys-subsystem-net-devices-%i.device