change app class dir

This commit is contained in:
destan19@126.com 2020-05-24 01:28:56 +08:00
parent 6200237769
commit a4eb6e3674

View File

@ -36,7 +36,7 @@ function get_hostname_by_mac(dst_mac)
end
function get_app_name_by_id(appid)
local class_fd = io.popen("find /etc/appfilter/ -type f -name *.class |xargs cat |grep "..appid.."|awk '{print $2}'")
local class_fd = io.popen("find /tmp/appfilter/ -type f -name *.class |xargs cat |grep "..appid.."|awk '{print $2}'")
if class_fd then
local name = class_fd:read("*l")
class_fd:close()