summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-12-18 03:45:35 +0100
committerDaniil Baturin <daniil@baturin.org>2013-12-18 03:45:35 +0100
commit69c69ce447463acfc7d7256fcc303b724d38456d (patch)
treef23def2303ca12e925154d2bf1555339898d4ebb
parent236328c8c8cb28b6d4703df51356d3ec18030a05 (diff)
downloadvyatta-cfg-system-69c69ce447463acfc7d7256fcc303b724d38456d.tar.gz
vyatta-cfg-system-69c69ce447463acfc7d7256fcc303b724d38456d.zip
Bug #92: change default timezone to UTC for the sake of scientific
correctness.
-rw-r--r--templates/system/time-zone/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/time-zone/node.def b/templates/system/time-zone/node.def
index bbdc2a15..ce76c8a4 100644
--- a/templates/system/time-zone/node.def
+++ b/templates/system/time-zone/node.def
@@ -1,7 +1,7 @@
priority: 100
type: txt
help: Local time zone
-default: "GMT"
+default: "UTC"
update: LTF="/usr/share/zoneinfo"
case "$VAR(@)" in
[Ll][Oo][Ss]*) LTF="$LTF/US/Pacific" ;;
@@ -20,7 +20,7 @@ update: LTF="/usr/share/zoneinfo"
echo "Invalid timezone"
exit 1
fi
-delete:expression: "sudo ln -fs /usr/share/zoneinfo/GMT /etc/localtime"
+delete:expression: "sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime"
allowed: shopt -s nullglob
word=${COMP_WORDS[$COMP_CWORD]}
if [[ $word == */* ]]; then