mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
cda3a40fce
Ordering the units before network.target causes them to be stopped after network.target on shutdown. This ensures that any network filesystems will be unmounted before wpa_supplicant is killed. Adding Wants=network.target ensures that network.target will be included in the active dependency graph. This is typical of units which are involved in networking setup functions. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
14 lines
264 B
SYSTEMD
14 lines
264 B
SYSTEMD
[Unit]
|
|
Description=WPA supplicant
|
|
Before=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=fi.epitest.hostap.WPASupplicant
|
|
ExecStart=@BINDIR@/wpa_supplicant -u
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=dbus-fi.epitest.hostap.WPASupplicant.service
|