10 lines
383 B
Bash
10 lines
383 B
Bash
#!/bin/bash
|
|
|
|
#echo "Europe" > /etc/timezone
|
|
#ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
|
|
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections
|
|
echo 'tzdata tzdata/Zones/Europe select Madrid' | debconf-set-selections
|
|
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections
|
|
rm /etc/timezone
|
|
rm /etc/localtime
|
|
dpkg-reconfigure -f noninteractive tzdata |