mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 10:48:22 -05:00
9e5a5de55a
systemd service files were supplied with old D-Bus bus name. After service activation systemd was waiting for appearance of specified bus name to consider it started successfully. However, if wpa_supplicant was compiled only with the new D-Bus interface name, systemd didn't notice configured (old) D-Bus bus name appearance. In the end, service was considered malfunctioning and it was deactivated. Update systemd service BusName property according to supported D-Bus interface version. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
14 lines
234 B
SYSTEMD
14 lines
234 B
SYSTEMD
[Unit]
|
|
Description=WPA supplicant
|
|
Before=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=@DBUS_INTERFACE@
|
|
ExecStart=@BINDIR@/wpa_supplicant -u
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=dbus-@DBUS_INTERFACE@.service
|