mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
wpa_supplicant: Add systemd support
This commit is contained in:
parent
f67eeb5c32
commit
2ecaec50c8
@ -2,3 +2,4 @@
|
||||
Name=fi.epitest.hostap.WPASupplicant
|
||||
Exec=/sbin/wpa_supplicant -u
|
||||
User=root
|
||||
SystemdService=wpa_supplicant.service
|
||||
|
@ -2,3 +2,4 @@
|
||||
Name=fi.w1.wpa_supplicant1
|
||||
Exec=/sbin/wpa_supplicant -u
|
||||
User=root
|
||||
SystemdService=wpa_supplicant.service
|
||||
|
13
wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
Normal file
13
wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=WPA supplicant daemon (interface- and nl80211 driver-specific version)
|
||||
Requires=sys-subsystem-net-devices-%i.device
|
||||
After=sys-subsystem-net-devices-%i.device
|
||||
|
||||
# NetworkManager users will probably want the dbus version instead.
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
|
||||
|
||||
[Install]
|
||||
Alias=network.target.wants/wpa_supplicant-nl80211@wlan0.service
|
13
wpa_supplicant/systemd/wpa_supplicant-wired@.service
Normal file
13
wpa_supplicant/systemd/wpa_supplicant-wired@.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=WPA supplicant daemon (interface- and wired driver-specific version)
|
||||
Requires=sys-subsystem-net-devices-%i.device
|
||||
After=sys-subsystem-net-devices-%i.device
|
||||
|
||||
# NetworkManager users will probably want the dbus version instead.
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
||||
|
||||
[Install]
|
||||
Alias=network.target.wants/wpa_supplicant-wired@wlan0.service
|
11
wpa_supplicant/systemd/wpa_supplicant.service
Normal file
11
wpa_supplicant/systemd/wpa_supplicant.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=WPA supplicant
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=fi.epitest.hostap.WPASupplicant
|
||||
ExecStart=/sbin/wpa_supplicant -u
|
||||
|
||||
[Install]
|
||||
WantedBy=network.target
|
||||
Alias=dbus-fi.epitest.hostap.WPASupplicant.service
|
13
wpa_supplicant/systemd/wpa_supplicant@.service
Normal file
13
wpa_supplicant/systemd/wpa_supplicant@.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=WPA supplicant daemon (interface-specific version)
|
||||
Requires=sys-subsystem-net-devices-%i.device
|
||||
After=sys-subsystem-net-devices-%i.device
|
||||
|
||||
# NetworkManager users will probably want the dbus version instead.
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
||||
|
||||
[Install]
|
||||
Alias=network.target.wants/wpa_supplicant@wlan0.service
|
Loading…
Reference in New Issue
Block a user