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