Add Time Zone configuration

Signed-off-by: Alban VIDAL <alban.vidal@zordhak.fr>
This commit is contained in:
Alban VIDAL 2018-05-29 00:07:53 +02:00
parent 8ee75f3c5f
commit 024ee9f826
3 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,7 @@ The following component are configured:
+ Tune .bashrc + Tune .bashrc
+ Tune .profile + Tune .profile
+ Send alert email for new ssh connexion + Send alert email for new ssh connexion
+ Set Time Zone (see parameters.conf to edit, default "Europe/Paris")
You just need to clone this repository in `/srv/git/basic_config_debian` and execute the `auto_config.sh` script You just need to clone this repository in `/srv/git/basic_config_debian` and execute the `auto_config.sh` script

View File

@ -176,3 +176,9 @@ fi
# alert by email for new ssh connexion # alert by email for new ssh connexion
cp $GIT_DIR/etc/ssh/sshrc /etc/ssh/sshrc cp $GIT_DIR/etc/ssh/sshrc /etc/ssh/sshrc
sed -i "s/__ALERT_EMAIL__/$SSH_EMAIL_ALERT/" /etc/ssh/sshrc sed -i "s/__ALERT_EMAIL__/$SSH_EMAIL_ALERT/" /etc/ssh/sshrc
################################################################################
# Time Zone configuration
# see 'parameters.conf' to edit value
busctl call org.freedesktop.timedate1 /org/freedesktop/timedate1 org.freedesktop.timedate1 SetTimezone "sb" "$TimeZone" true

View File

@ -1,2 +1,5 @@
# Do you want disable IPv6 ? # Do you want disable IPv6 ?
DISABLE_IPv6=true DISABLE_IPv6=true
# Time Zone
TimeZone="Europe/Paris"