summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/netctl-auto@.service1
-rw-r--r--services/netctl-ifplugd@.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/services/netctl-auto@.service b/services/netctl-auto@.service
index 9a035da..6894fda 100644
--- a/services/netctl-auto@.service
+++ b/services/netctl-auto@.service
@@ -1,6 +1,7 @@
[Unit]
Description=Automatic wireless network connection using netctl profiles
Documentation=man:netctl.special(7)
+BindsTo=sys-subsystem-net-devices-%i.device
Before=network.target
Wants=network.target
diff --git a/services/netctl-ifplugd@.service b/services/netctl-ifplugd@.service
index 05cb1cf..3f48362 100644
--- a/services/netctl-ifplugd@.service
+++ b/services/netctl-ifplugd@.service
@@ -1,6 +1,7 @@
[Unit]
Description=Automatic wired network connection using netctl profiles
Documentation=man:netctl.special(7)
+BindsTo=sys-subsystem-net-devices-%i.device
[Service]
ExecStart=/usr/bin/ifplugd -i %i -r /etc/ifplugd/netctl.action -fIns