mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixed shell endpoint bug and added notice when executing the script (#4748)
Co-authored-by: matteo <biscosi@ntop.org>
This commit is contained in:
parent
e6bacc5b83
commit
e543b207c9
6 changed files with 93 additions and 23 deletions
|
|
@ -9,8 +9,23 @@
|
|||
if(key:match('^(.*).sh')) then
|
||||
%}
|
||||
<option value='{{ key }}'>{{ dir }}</option>
|
||||
{% end %}
|
||||
{% end %}
|
||||
{%
|
||||
end
|
||||
%}
|
||||
{%
|
||||
end
|
||||
%}
|
||||
{%
|
||||
for key, dir in pairs(ntop.readdir("scripts/shell")) do
|
||||
if(key:match('^(.*).sh')) then
|
||||
%}
|
||||
<option value='{{ key }}'>{{ dir }}</option>
|
||||
{%
|
||||
end
|
||||
%}
|
||||
{%
|
||||
end
|
||||
%}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue