Create startup.sh

This commit is contained in:
Andre
2017-01-31 10:30:19 +01:00
committed by GitHub
parent f94bcbfddd
commit 3148734d80

9
scripts/startup.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ -f .install_host ];
then
sed -i "s/$(cat .install_host)/$(hostname)/g" iobroker-data/objects.json
rm .install_host
fi
node node_modules/iobroker.js-controller/controller.js