Files
jitsi-meet-deployment/base/rootfs/etc/cont-init.d/01-set-timezone
Saúl Ibarra Corretgé 467a149cbb Initial import
2018-03-14 10:23:50 +01:00

7 lines
243 B
Plaintext

#!/usr/bin/with-contenv sh
if [ $TZ ]; then
[ -f /usr/share/zoneinfo/$TZ ] && cp /usr/share/zoneinfo/$TZ /etc/localtime || echo "WARNING: $TZ is not a valid time zone."
[ -f /usr/share/zoneinfo/$TZ ] && echo "$TZ" > /etc/timezone
fi