Skip to content
Snippets Groups Projects
Commit d511899a authored by Jouke Witteveen's avatar Jouke Witteveen
Browse files

Support removable devices in automatic connections

parent f13c69f1
No related branches found
No related tags found
No related merge requests found
[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
[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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment