summaryrefslogtreecommitdiff
path: root/setup-timezone.in
AgeCommit message (Collapse)Author
2022-05-18setup-timezone: make -z backwards compatibleOliver Smith
Since -z is still present in getopts parsing, it looks like the removal of the option was supposed to be backwards compatible. Fix the code to make it so. Fixes: 31e63870 ("setup-timezone: fix usage, drop -z option from help")
2022-05-18setup-timezone: add testNatanael Copa
Make it testable
2022-05-12setup-timezone: fix usage, drop -z option from helpNatanael Copa
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-01-08setup-timezone: use ask for consistencyNatanael Copa
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2015-08-10setup-timezone: fix use of -z optionNatanael Copa
ref #4518
2014-06-11setup-timezone: move /etc/zoneinfo/localtime to /etc/localtimeNatanael Copa
This is what upstream musl does.
2014-04-23setup-timezone: force install virtual packageNatanael Copa
This is to avoid the message: ERROR: You tried to add a non-repository package to system, but it would be lost on next reboot. Enable package caching (apk cache --help) or use --force if you know what you are doing.
2014-04-23fix permissionsNatanael Copa
2014-04-23setup-timezone: code cleanup. rename zonepath to timezoneNatanael Copa
2014-04-23setup-timezone: refactor. -i for install all tzdata and -k for keep copiesNatanael Copa
By default we copy the tzdata file to /etc/zoneinfo and symlink to our copy. We also purge all previously copied timezones unless -k is given. If -i is specified, then will the tzdata apk package stay and the symlink will point to /usr/share/zoneinfo/... instead of a copy in /etc/zoneinfo/
2014-04-23setup-timezone: use /usr/zoneinfo/localtime instead of /etc/TZNatanael Copa
musl uses /etc/zoneinfo/localtime ref #927 fixes #2867
2014-04-23setup-timezone: rename 'folder' to 'directory'Natanael Copa
This is unix...
2014-04-23setup-timezone: remove -p <POSIXTZ> optionNatanael Copa
2013-08-13setup-timezone: fix bug in getopts parsingEivind Uggedal
2013-07-03various: use long-form apk optionsDubiousjim
2013-05-29setup-timezone: fix typoYves Schumann
- Removed obsolete modifier - Fixed typo
2011-09-09minor typo correction in setup-timezone.inJeremy Thomerson
2011-08-05setup-timezone: command line options for posixtz format and tzdata formatJeff Bilyk
2011-04-14setup-disk, setup-timezone: improved messagesMatt Smith
2011-04-07setup-timezone: abort if tzdata does not installNatanael Copa
2011-03-16setup-timezone: rewriteNatanael Copa
2011-03-03setup-timezone: minor fixesNatanael Copa
- ask for timezone after root password (before we start syslog) - rephrase the questinos and fix input prompt to be on same line
2011-02-26setup-timezone: initial version of scriptJeff Bilyk
initial cut at a setup-timezone script