summaryrefslogtreecommitdiff
path: root/op-mode-definitions/install-mok.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-06-10 16:09:33 +0100
committerGitHub <noreply@github.com>2025-06-10 16:09:33 +0100
commitb40e7a2de9daa866b6423391ba7fe5b1bfa7e67c (patch)
treef8b4fb9cb779c6e8277c296446c7ea2954f275e0 /op-mode-definitions/install-mok.xml.in
parentfbaf05c6abcb9d428c85e04e49af5dafc35d0194 (diff)
parent1d3242006cca9d78009667f06ad4d73b1bb2ef54 (diff)
downloadvyos-1x-b40e7a2de9daa866b6423391ba7fe5b1bfa7e67c.tar.gz
vyos-1x-b40e7a2de9daa866b6423391ba7fe5b1bfa7e67c.zip
Merge pull request #4550 from dmbaturin/T7527-eliminate-embedded-op-mode-shell-snippets
op-mode: T7527: move assorted embedded shel snippets to script files
Diffstat (limited to 'op-mode-definitions/install-mok.xml.in')
-rw-r--r--op-mode-definitions/install-mok.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/install-mok.xml.in b/op-mode-definitions/install-mok.xml.in
index 906c34d8d..ab8e5d3db 100644
--- a/op-mode-definitions/install-mok.xml.in
+++ b/op-mode-definitions/install-mok.xml.in
@@ -6,7 +6,7 @@
<properties>
<help>Install Secure Boot MOK (Machine Owner Key)</help>
</properties>
- <command>if test -f /var/lib/shim-signed/mok/vyos-dev-2025-shim.der; then mokutil --ignore-keyring --import /var/lib/shim-signed/mok/vyos-dev-2025-shim.der; else echo "Secure Boot Machine Owner Key not found"; fi</command>
+ <command>${vyos_op_scripts_dir}/install_mok.sh</command>
</leafNode>
</children>
</node>