Files
ioBroker.docker/scripts/startup.sh
2017-06-04 11:59:21 +02:00

14 lines
205 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-start.sh
sleep 5
./iobroker start
cd /
/bin/bash