From 3ee114993a376d43e2ec7398abfd2a655c0a741c Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Fri, 22 Apr 2022 19:51:20 +0800 Subject: [PATCH] =?UTF-8?q?profile:=20=E4=BF=AE=E5=A4=8D=20syslog=20?= =?UTF-8?q?=E6=8C=87=E5=90=91=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomFiles/Depends/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index 69c1f22..6e76e44 100755 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -92,5 +92,5 @@ alias ll='ls -alF' alias la='ls -A' alias cls='clear' alias dh='df -h' -alias syslog='cat /tmp/system.log 2> /dev/null' +alias syslog='cat $(uci get system.@system[0].log_file) 2> /dev/null' alias ramfree='sync && echo 3 > /proc/sys/vm/drop_caches'