Files
hassio-addons/calibre_web/rootfs/etc/cont-init.d/80-configuration.sh
2022-05-02 09:54:31 +02:00

13 lines
382 B
Bash

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# shellcheck disable=SC2015
# Set TZ
if bashio::config.has_value 'TZ'; then
TIMEZONE=$(bashio::config 'TZ')
bashio::log.info "Setting timezone to $TIMEZONE"
ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime && echo "$TIMEZONE" >/etc/timezone
fi
bashio::log.info "Default username:password is admin:admin123"