Create iobroker_startup.sh

This commit is contained in:
Andre
2017-08-21 11:58:09 +02:00
committed by GitHub
parent 8652a3b546
commit 3bb6bcf4a2

View File

@@ -0,0 +1,13 @@
#!/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