Avoid executing memdiskfind under Secure Boot
authorMichael Prokop <mika@grml.org>
Sat, 18 Jul 2020 15:00:46 +0000 (17:00 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 18 Jul 2020 15:00:46 +0000 (17:00 +0200)
commit61b7447e18fa6d7d9896541355a23752fc9f1544
treea4a7e99575e22338a3d80c1a6dd5a011cc23a89d
parentb727a78562afd4cf51c9075d0cab82fb57751dd0
Avoid executing memdiskfind under Secure Boot

memdiskfind displays an ugly error message when running under Secure
Boot where access to /dev/mem is restricted:

| cannt open /dev/mem: Operation not permitted

If we can read from /dev/mem then skip the memdiskfind and instead
display a warning message.
components/9990-main.sh