Skip to content

Commit

Permalink
Merge pull request #1576 from RaspAP/maint/debuglog
Browse files Browse the repository at this point in the history
Adds output from rfkill to debug log
  • Loading branch information
billz committed May 3, 2024
2 parents f76cb71 + e8a8ca6 commit 884d4d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions installers/debuglog.sh
Expand Up @@ -106,6 +106,7 @@ function _generate_log() {
_packages_info
_raspap_info
_usb_info
_rfkill_info
_wpa_info
_dnsmasq_info
_dhcpcd_info
Expand Down Expand Up @@ -192,6 +193,12 @@ function _usb_info() {
_log_write "${stdout}"
}

function _rfkill_info() {
local stdout=$(rfkill list)
_log_separator "rfkill"
_log_write "${stdout}"
}

function _wpa_info() {
local stdout=$(wpa_cli status)
_log_separator "WPA Supplicant"
Expand Down

0 comments on commit 884d4d9

Please sign in to comment.