Skip to content

Commit

Permalink
Add trace for remote NUT debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Quette <[email protected]>
  • Loading branch information
aquette committed Dec 22, 2023
1 parent 1a7b837 commit cfe0858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smartnut/rootfs/etc/cont-init.d/smartnut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ if bashio::config.true 'autoconf_remote_nut_devices' ;then
# Get network params from the system
scan_range=$(bashio::network.ipv4_address)
if [ -n "$scan_range" ]; then
bashio::log.info "=> Scanning using $scan_range"
nut-scanner -O -m "$scan_range" >> "${UPS_CONF}"
bashio::log.info "=> OK"
else
Expand Down

0 comments on commit cfe0858

Please sign in to comment.