mute the output of changing timezones
This commit is contained in:
parent
dd818b7d49
commit
30b6464928
2
samba.sh
2
samba.sh
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user