From 2e488bf8af417ec4782fdb2d762a1efc00af62c2 Mon Sep 17 00:00:00 2001 From: wuwei <wuquan-1230@q63.com> Date: 星期六, 14 六月 2025 15:35:00 +0800 Subject: [PATCH] 1.修改local/dev/下的串口节点,将ttyS5连接修改为com17,删除com13和com14节点 2.增加snmp启动脚本 --- local/www/cgi-bin/device-debug/debug | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/local/www/cgi-bin/device-debug/debug b/local/www/cgi-bin/device-debug/debug index b4aa0ca..07dc9a2 100755 --- a/local/www/cgi-bin/device-debug/debug +++ b/local/www/cgi-bin/device-debug/debug @@ -29,6 +29,7 @@ cid2=`$jsoner $arg cid2` data=`$jsoner $arg data` oid=`$jsoner $arg oid` +community=`$jsoner $arg community` case "$debug" in @@ -39,7 +40,7 @@ string) content=`msg string $type $ip $port $data`;; snmp) -content=`msg snmp $ver $ip $oid`;; +content=`msg snmp $ver $ip $oid $port $community`;; esac #echo $content -- Gitblit v1.9.3