mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Add _rfkill_info
This commit is contained in:
parent
41bca8e581
commit
e8a8ca6b65
1 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,7 @@ function _generate_log() {
|
|||
_packages_info
|
||||
_raspap_info
|
||||
_usb_info
|
||||
_rfkill_info
|
||||
_wpa_info
|
||||
_dnsmasq_info
|
||||
_dhcpcd_info
|
||||
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue