Add Time Zone configuration
Signed-off-by: Alban VIDAL <alban.vidal@zordhak.fr>
This commit is contained in:
parent
8ee75f3c5f
commit
024ee9f826
@ -15,6 +15,7 @@ The following component are configured:
|
||||
+ Tune .bashrc
|
||||
+ Tune .profile
|
||||
+ 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
|
||||
|
||||
|
@ -176,3 +176,9 @@ fi
|
||||
# alert by email for new ssh connexion
|
||||
cp $GIT_DIR/etc/ssh/sshrc /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
|
||||
|
@ -1,2 +1,5 @@
|
||||
# Do you want disable IPv6 ?
|
||||
DISABLE_IPv6=true
|
||||
|
||||
# Time Zone
|
||||
TimeZone="Europe/Paris"
|
||||
|
Loading…
Reference in New Issue
Block a user