8 lines
175 B
Bash
Executable File
8 lines
175 B
Bash
Executable File
#!/bin/sh
|
|
[ -n "${DEBUG}" ] && set -x
|
|
set -eu
|
|
|
|
TZ="${TZ:-UTC}"
|
|
printf "%s\n" "${TZ}" > /etc/timezone
|
|
unlink /etc/localtime && ln -s "/usr/share/zoneinfo/${TZ}" /etc/localtime
|