more updates march
This commit is contained in:
10
jitsi/base/rootfs/etc/cont-init.d/01-set-timezone
Normal file
10
jitsi/base/rootfs/etc/cont-init.d/01-set-timezone
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [[ ! -z "$TZ" ]]; then
|
||||
if [[ -f /usr/share/zoneinfo/$TZ ]]; then
|
||||
ln -sf /usr/share/zoneinfo/$TZ /etc/localtime
|
||||
echo "$TZ" > /etc/timezone
|
||||
else
|
||||
echo "WARNING: $TZ is not a valid time zone."
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user