Merge pull request #1576 from RaspAP/maint/debuglog

Adds output from rfkill to debug log
This commit is contained in:
Bill Zimmerman 2024-05-03 09:44:36 +02:00 committed by GitHub
commit 884d4d95c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,6 +106,7 @@ function _generate_log() {
_packages_info _packages_info
_raspap_info _raspap_info
_usb_info _usb_info
_rfkill_info
_wpa_info _wpa_info
_dnsmasq_info _dnsmasq_info
_dhcpcd_info _dhcpcd_info
@ -192,6 +193,12 @@ function _usb_info() {
_log_write "${stdout}" _log_write "${stdout}"
} }
function _rfkill_info() {
local stdout=$(rfkill list)
_log_separator "rfkill"
_log_write "${stdout}"
}
function _wpa_info() { function _wpa_info() {
local stdout=$(wpa_cli status) local stdout=$(wpa_cli status)
_log_separator "WPA Supplicant" _log_separator "WPA Supplicant"