mute the output of changing timezones

This commit is contained in:
David Personette 2015-08-19 06:28:21 -04:00
parent dd818b7d49
commit 30b6464928

View File

@ -64,7 +64,7 @@ timezone() { local timezone="${1:-EST5EDT}"
if [[ $(cat /etc/timezone) != $timezone ]]; then
echo "$timezone" > /etc/timezone
ln -sf /usr/share/zoneinfo/$timezone /etc/localtime
dpkg-reconfigure -f noninteractive tzdata
dpkg-reconfigure -f noninteractive tzdata >/dev/null 2>&1
fi
}