~现在启动后会自动进行一次系统时间同步(使用ntpd)
~修复错误读取/tmp目录内核及配置文件导致的一系列bug
This commit is contained in:
juewuy
2023-02-02 12:18:03 +08:00
parent 70290746b4
commit ef1fd70a32
6 changed files with 6 additions and 4 deletions

View File

@@ -1233,6 +1233,8 @@ afstart(){
[ "$local_proxy" = "已开启" ] && [ "$local_type" = "iptables增强模式" ] && start_output
[ "$local_proxy" = "已开启" ] && [ "$local_type" = "nftables增强模式" ] && [ "$redir_mod" = "纯净模式" ] && start_nft
ckcmd iptables && start_wan
#同步本机时间
ckcmd ntpd && ntpd -n -q -p ntp.aliyun.com
#标记启动时间
mark_time
#加载定时任务