summaryrefslogtreecommitdiff
path: root/src/op_mode/install_mok.sh
blob: 29f78cd1f5a1da2c71c037888c7ad5db1fd93ee8 (plain)
1
2
3
4
5
6
7
#!/bin/sh

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