From 305a13b0b0960d03a3ec83e2b25a2211f4816f0f Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 13 Jun 2019 14:45:58 +0200 Subject: [PATCH] deletions after testing --- README.md | 2 -- scripts/iobroker_startup.sh | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/README.md b/README.md index 27c3cd3..d912e62 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,6 @@ In v3.0.0 I added some new features. The following will give some short informat |LANG|de_DE.UTF-8|following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8| |LC_ALL|de_DE|following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8| |TZ|Europe/Berlin|all valid Linux-timezones| -|HOSTNAMEOLD|old hostname|should only be used for renaming with an existing iobroker installation which was running under a different hostname before| ### Mounting Folder/ Volume @@ -48,7 +47,6 @@ I added some code for fixing permissions for new iobroker-user. Permission-fixin ### v3.0.2beta (2019-06-13) * using gosu instead of sudo * changing output of ioBroker logging -* new env: "HOSTNAMEOLD" for migration ### v3.0.1beta (2019-05-18) * ~~switching back to iobroker-daemon for startup~~ diff --git a/scripts/iobroker_startup.sh b/scripts/iobroker_startup.sh index aa5f3eb..3eb992c 100644 --- a/scripts/iobroker_startup.sh +++ b/scripts/iobroker_startup.sh @@ -3,7 +3,6 @@ # Reading env-variables packages=$PACKAGES avahi=$AVAHI -hostnameold=$HOSTNAMEOLD # Getting date and time for logging dati=`date '+%Y-%m-%d %H:%M:%S'` @@ -54,15 +53,6 @@ then iobroker host $(cat /opt/iobroker/.install_host) rm -f /opt/iobroker/.install_host echo 'Renaming ioBroker done...' -elif [ "$hostnameold" != "" ] -then - echo '' - echo 'This is the first run of an existing installation...' - echo 'Hostname given is' $(hostname)'...' - echo 'Hostname old is' $hostnameold'...' - echo 'Renaming ioBroker...' - iobroker host $hostnameold - echo 'Renaming ioBroker done...' fi # Checking for first run and change permissions