Skip to content

Instantly share code, notes, and snippets.

@redxef
Created June 19, 2019 12:18
Show Gist options
  • Save redxef/4604d67302e447232ecdc6f10f3556dc to your computer and use it in GitHub Desktop.
Save redxef/4604d67302e447232ecdc6f10f3556dc to your computer and use it in GitHub Desktop.
[Unit]
Description=WPA supplicant daemon (interface- and wext driver-specific version)
Requires=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
Before=network.target
Wants=network.target
# NetworkManager users will probably want the dbus version instead.
[Service]
Type=simple
ExecStart=/usr/bin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wext-%I.conf -Dwext -i%I
[Install]
Alias=multi-user.target.wants/wpa_supplicant-wext@%i.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment