diff options
author | John Estabrook <jestabro@vyos.io> | 2024-06-24 07:12:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 07:12:25 -0500 |
commit | 819b4a3556481ec516caca2731714ff69a57c2a5 (patch) | |
tree | f1c739d61ed5f6876cfa182e0a6f6d419fc57d0a /op-mode-definitions | |
parent | c90a55375f6b60ba0d0d545b33927a2aae4d6aad (diff) | |
parent | 6114192dbe3f8bfd69dc3509da3bfc7125636ab3 (diff) | |
download | vyos-1x-819b4a3556481ec516caca2731714ff69a57c2a5.tar.gz vyos-1x-819b4a3556481ec516caca2731714ff69a57c2a5.zip |
Merge pull request #3683 from dmbaturin/T6501-lsmod-on-steroids
op mode: T6501: add "run show kernel modules"
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-kernel-modules.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/show-kernel-modules.xml.in b/op-mode-definitions/show-kernel-modules.xml.in new file mode 100644 index 000000000..28eb28212 --- /dev/null +++ b/op-mode-definitions/show-kernel-modules.xml.in @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="kernel"> + <properties> + <help>Show kernel information</help> + </properties> + <children> + <node name="modules"> + <properties> + <help>Show kernel modules</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/kernel_modules.py show</command> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |