changes for iobroker host this issues

This commit is contained in:
Andre
2019-01-11 10:17:55 +01:00
parent 4f0d07878b
commit fdbde6eb15
2 changed files with 3 additions and 5 deletions

View File

@@ -5,9 +5,7 @@ cd /opt/iobroker
if [ -f .install_host ];
then
echo 'First run preparation! Used Hostname:' $(hostname)
echo $(hostname) > .install_host && ./iobroker host $(cat .install_host)
iobroker del admin.0 && iobroker del discovery.0
iobroker add admin && iobroker add discovery
iobroker host $(cat .install_host)
rm .install_host
echo 'First run Preparation done...'
fi