mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 10:29:00 +02:00
Create startup.sh
This commit is contained in:
9
scripts/startup.sh
Normal file
9
scripts/startup.sh
Normal 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
|
||||||
Reference in New Issue
Block a user