diff --git a/inst-raps.sh b/inst-raps.sh index 82ae0de..3b59d0a 100755 --- a/inst-raps.sh +++ b/inst-raps.sh @@ -127,4 +127,28 @@ printSuccess "Ansible installed successfully" printInfo "Add ./.local/bin in path" echo "export PATH=~/.local/bin:\$PATH" >> ~/.bashrc if [ $? -ne 0 ]; then printError "Problem to install ansible";exit; fi -printSuccess "./.local/bin added in path successfully " \ No newline at end of file +printSuccess "./.local/bin added in path successfully " + +#----------------------------------------------------------------------------- +# update date and time +#----------------------------------------------------------------------------- +printInfo "Update date and time" +chronyc -a makestep +if [ $? -ne 0 ]; then printError "Problem to update date and time";exit; fi +printSuccess "Date and Time updated successfully" + +#----------------------------------------------------------------------------- +# set timezone +#----------------------------------------------------------------------------- +#printInfo "Set timzone" +#timedatectl set-timezone Europe/Zurich +#if [ $? -ne 0 ]; then printError "Problem to set timezone";exit; fi +#printSuccess "Timezone setted successfully" + +#----------------------------------------------------------------------------- +# set locale +#----------------------------------------------------------------------------- +#printInfo "Set timzone" +#timedatectl set-timezone Europe/Zurich +#if [ $? -ne 0 ]; then printError "Problem to set timezone";exit; fi +#printSuccess "Timezone setted successfully"