mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-20 11:49:10 +02:00
testing
This commit is contained in:
2
debian/scripts/iobroker_startup.sh
vendored
2
debian/scripts/iobroker_startup.sh
vendored
@@ -214,7 +214,7 @@ echo 'Done.'
|
||||
echo ' '
|
||||
|
||||
# checking hostname in ioBroker to match container hostname
|
||||
if [[ $(bash iobroker object get system.adapter.admin.0 --pretty | grep -oP '(?<="host": ")[^"]*') != $(hostname) ]] && [[ "$multihost" != "slave" ]]
|
||||
if [[ "$(bash iobroker object get system.adapter.admin.0 --pretty | grep -oP '(?<="host": ")[^"]*')" != "$(hostname)" ]] && [[ "$multihost" != "slave" ]]
|
||||
then
|
||||
echo "Hostname in ioBroker does not match the hostname of this container."
|
||||
echo -n "Updating hostname to " $(hostname)"... "
|
||||
|
||||
Reference in New Issue
Block a user