From 8a35905d2e9d967e7a3550e2620da2e341fbb3fa Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 23 Dec 2015 17:29:13 -0500 Subject: [PATCH] add timezone selection --- setup/management.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/management.sh b/setup/management.sh index 07171a0e..4effb67b 100755 --- a/setup/management.sh +++ b/setup/management.sh @@ -30,6 +30,12 @@ rm -f /etc/init.d/mailinabox ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox hide_output update-rc.d mailinabox defaults +# Set time zone to something convenient for the user +# Backup will be set for 3am localtime so choice is important depending +# on user locations. + +dpkg-reconfigure tzdata + # Perform a daily backup. if [ -f /etc/cron.daily/mailinabox-backup ]; then rm /etc/cron.daily/mailinabox-backup