mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-03 14:32:52 +02:00
Create iobroker_startup.sh
This commit is contained in:
13
scripts/iobroker_startup.sh
Normal file
13
scripts/iobroker_startup.sh
Normal 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
|
||||
Reference in New Issue
Block a user