Update Debug

This commit is contained in:
喵二
2023-12-27 15:04:26 +08:00
committed by GitHub
parent 60b8b6a6c5
commit cf8938f3a5

View File

@@ -143,6 +143,7 @@ debug(){
rm /www/logs.txt
fi
cat /etc/banner > /www/logs.txt
cat /etc/catwrt_release > /www/logs.txt
logread >> /www/logs.txt
dmesg >> /www/logs.txt
@@ -151,6 +152,7 @@ debug(){
echo "系统日志已收集到 /www/logs.txt"
echo "访问下载 http://$lan_ip/logs.txt"
exit
}
bypass_gateway(){