fixed monitor iotnet script
This commit is contained in:
parent
d584a0a47a
commit
5e22aa2e3a
@ -22,7 +22,7 @@ while true; do
|
||||
echo "Checking homeassistant iotnet connection..."
|
||||
if ! $PODMAN inspect homeassistant | grep -q 'iotnet'; then
|
||||
echo "Connecting homeassistant to iotnet"
|
||||
$PODMAN network connect "--mac-address=5e:68:d1:b1:b3:1f iotnet homeassistant"
|
||||
$PODMAN network connect --mac-address=5e:68:d1:b1:b3:1f iotnet homeassistant
|
||||
fi
|
||||
else
|
||||
echo "Homeassistant container not running"
|
||||
|
Loading…
Reference in New Issue
Block a user