temporary
Merge branch 'main' of ssh://git.format.hu/format/homeassistant-init-container
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
HOMEASSISTANT_DOMAIN="https://$DOMAIN";
|
||||
SELECTOR=$HOMEASSISTANT
|
||||
HOMEASSISTANT_IP=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d '/' -f1)
|
||||
HOMEASSISTANT_IP=$(hostname -i | awk '{print $1}')
|
||||
HOST_FILE=/etc/system/data/dns/hosts.local;
|
||||
|
||||
EXISTS=$(grep -w -F $SELECTOR $HOST_FILE);
|
||||
|
Reference in New Issue
Block a user