diff --git a/home-panel/rootfs/etc/cont-init.d/20-config.sh b/home-panel/rootfs/etc/cont-init.d/20-config.sh index e2d5fcc..072d851 100644 --- a/home-panel/rootfs/etc/cont-init.d/20-config.sh +++ b/home-panel/rootfs/etc/cont-init.d/20-config.sh @@ -11,10 +11,10 @@ config_file="/config/$(hass.config.get 'config_file')" if [ ! -f "$config_file" ]; then hass.log.info "Config file does not exist. Creating.." cp /etc/home-panel/home-panel-config.default.json "$config_file" - hass.log.info "You should now edit this file, then restart the addon." + hass.log.info "Created. You should now edit this file at '$config_file'" fi -hass.log.info "Copy config.." +hass.log.info "Copy config to API.." mkdir -p /usr/src/api/files cp "$config_file" /usr/src/api/files/config.json diff --git a/home-panel/rootfs/etc/cont-init.d/40-api.sh b/home-panel/rootfs/etc/cont-init.d/40-api.sh index baf06be..5cb5886 100644 --- a/home-panel/rootfs/etc/cont-init.d/40-api.sh +++ b/home-panel/rootfs/etc/cont-init.d/40-api.sh @@ -10,13 +10,13 @@ certfile="/ssl/$(hass.config.get 'certfile')" keyfile="/ssl/$(hass.config.get 'keyfile')" if hass.config.true 'ssl'; then - hass.log.info "Copy SSL certs to api directory" + hass.log.info "Copy SSL certs to API directory.." cp "$certfile" /usr/src/api/fullchain.pem cp "$keyfile" /usr/src/api/privkey.pem fi if hass.file_exists "/config/home-panel.db"; then - hass.log.info "Copy DB to api" + hass.log.info "Copy DB to api.." mkdir -p /usr/src/api/files cp /config/home-panel.db /usr/src/api/files/home-panel.db fi