mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 10:59:00 +02:00
15 lines
224 B
Bash
15 lines
224 B
Bash
#!/bin/sh
|
|
|
|
if [ -f .install_host ];
|
|
then
|
|
sed -i "s/$(cat .install_host)/$(hostname)/g" iobroker-data/objects.json
|
|
rm .install_host
|
|
fi
|
|
|
|
/opt/scripts/avahi_startup.sh
|
|
sleep 5
|
|
cd /opt/iobroker
|
|
./iobroker start
|
|
cd /
|
|
/bin/bash
|