summarylogtreecommitdiffstats
path: root/cleviseal.hook
blob: dfd8c2e72a8e226088823d4636b1d03f11e10899 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/ash

run_hook() {
    # "cleviseal" as a sha256
    tpm2_pcrextend '7:sha256=6110bc36fe2e56be352e4584d0a3c153c031b3e04cc45c8adb339c984cdf8127' || poweroff -f
}

# vim: set ft=sh ts=4 sw=4 et: