1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

add timezone selection

This commit is contained in:
BuildTools 2015-12-23 17:29:13 -05:00
parent 82f4f8b2eb
commit 8a35905d2e

View File

@ -30,6 +30,12 @@ rm -f /etc/init.d/mailinabox
ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox
hide_output update-rc.d mailinabox defaults 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. # Perform a daily backup.
if [ -f /etc/cron.daily/mailinabox-backup ]; then if [ -f /etc/cron.daily/mailinabox-backup ]; then
rm /etc/cron.daily/mailinabox-backup rm /etc/cron.daily/mailinabox-backup