From 92a5c35a534475a544accd21968453e13d98f251 Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Tue, 13 Dec 2022 14:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=B6=E5=8C=BA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newset.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/newset.sh b/newset.sh index 033687d..1b2e9f7 100644 --- a/newset.sh +++ b/newset.sh @@ -98,7 +98,10 @@ export HISTFILE="/var/log/history/${LOGNAME}/${USER_IP}-log.$DT" chmod 600 /var/log/history/${LOGNAME}/*log* 2>/dev/null ######################代码结束####################### EOF -source /etc/profile +} + +TimeZone(){ +ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime } BASE_INSTALL REPO_REPLACE @@ -106,3 +109,5 @@ TOOL_INSTALL FIREWALLD IPTABLES PS1 +TimeZone +source /etc/profile