1
0
Dominique Leuenberger 2023-05-18 13:18:13 +00:00 committed by Git OBS Bridge
commit 9977f3b338
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 16 20:19:37 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- Change ctrl_interface from /var/run to %_rundir (/run)
-------------------------------------------------------------------
Thu Sep 1 13:52:19 UTC 2022 - Stefan Schubert <schubi@suse.com>

View File

@ -1,3 +1,3 @@
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface=@RUNSTATEDIR@/wpa_supplicant
ctrl_interface_group=wheel

View File

@ -87,6 +87,7 @@ install -d %{buildroot}%{_datadir}/dbus-1/system.d
install -m 0644 wpa_supplicant/dbus/dbus-wpa_supplicant.conf %{buildroot}%{_datadir}/dbus-1/system.d/wpa_supplicant.conf
install -d %{buildroot}/%{_sysconfdir}/%{name}
install -m 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}
sed 's-@RUNSTATEDIR@-%{_rundir}-g' -i %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
install -d %{buildroot}/%{_datadir}/dbus-1/system-services
install -m 0644 %{SOURCE3} %{buildroot}/%{_datadir}/dbus-1/system-services
install -m 0644 %{SOURCE5} %{buildroot}/%{_datadir}/dbus-1/system-services