diff --git a/installers/debuglog.sh b/installers/debuglog.sh index 61db216d..d050f203 100755 --- a/installers/debuglog.sh +++ b/installers/debuglog.sh @@ -108,6 +108,7 @@ function _generate_log() { _usb_info _wpa_info _dnsmasq_info + _dhcpcd_info _interface_info _routing_info _iw_dev_info @@ -218,6 +219,17 @@ function _dnsmasq_info() { fi } +function _dhcpcd_info() { + _log_separator "Dhcpcd Contents" + if [ -f "${RASPAP_DHCDPCD}" ]; then + local stdout=$(cat ${RASPAP_DHCDPCD}); + _log_write "${stdout}" + + else + _log_write "${RASPAP_DHCDPCD} not present" + fi +} + function _interface_info() { local stdout=$(ip a) _log_separator "Interfaces"