summaryrefslogtreecommitdiffstats
path: root/modules.d/03modsign/load-modsign-keys.sh
blob: a489067cbceb89aa39ce68bd6c06886288a0e714 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Licensed under the GPLv2
#
# Copyright 2013 Red Hat, Inc.
# Peter Jones <pjones@redhat.com>

for x in /lib/modules/keys/*; do
    [ "${x}" = "/lib/modules/keys/*" ] && break
    keyctl padd asymmetric "" %:.secondary_trusted_keys < "${x}"
done