diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-06-19 15:55:12 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-06-19 15:55:12 +0100 |
commit | 6114192dbe3f8bfd69dc3509da3bfc7125636ab3 (patch) | |
tree | 90de4b4a0650a98f3af6bb7b84f7b92ba9476041 /op-mode-definitions/show-kernel-modules.xml.in | |
parent | 47634378a00c41cab611092f200e86f9124f7ca8 (diff) | |
download | vyos-1x-6114192dbe3f8bfd69dc3509da3bfc7125636ab3.tar.gz vyos-1x-6114192dbe3f8bfd69dc3509da3bfc7125636ab3.zip |
op mode: T6501: add "run show kernel modules"
Diffstat (limited to 'op-mode-definitions/show-kernel-modules.xml.in')
-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> |