Files
ioBroker.docker/scripts/startup.sh
2017-01-31 18:11:17 +01:00

12 lines
169 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
./iobroker start
cd /
/bin/bash