fix wpa_cli not work

Signed-off-by: xiaofan <xiaofan@iscas.ac.cn>
This commit is contained in:
xiaofan 2023-09-05 19:41:55 +08:00
parent 2a921df45b
commit 4f02b507f4
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@ After=dbus.service
Type=dbus
BusName=fi.w1.wpa_supplicant1
EnvironmentFile=-/etc/sysconfig/wpa_supplicant
ExecStart=/usr/sbin/wpa_supplicant -u $INTERFACES $DRIVERS $OTHER_ARGS
ExecStart=/usr/sbin/wpa_supplicant -u -O /var/run/wpa_supplicant $INTERFACES $DRIVERS $OTHER_ARGS
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +1,7 @@
Name: wpa_supplicant
Epoch: 1
Version: 2.10
Release: 3
Release: 4
Summary: A WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN)
License: BSD or GPLv2
Url: https://w1.fi/wpa_supplicant/
@ -100,6 +100,9 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
%changelog
* Tue Sep 5 2023 xiaofan <xiaofan@iscas.ac.cn> - 1:2.10-4
- fix wpa_cli not work
* Mon Sep 4 2023 xiaofan <xiaofan@iscas.ac.cn> - 1:2.10-3
- remove redundant command argument and file