[arch-projects] [netctl][PATCH] Support removable devices in automatic connections
--- services/netctl-auto@.service | 3 ++- services/netctl-ifplugd@.service | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/netctl-auto@.service b/services/netctl-auto@.service index 3e41744..aacf65c 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) +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 diff --git a/services/netctl-ifplugd@.service b/services/netctl-ifplugd@.service index 76993b9..82fd9c0 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) +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 -- 2.19.1
participants (1)
-
Jouke Witteveen