More verbose kernel module blocking error logs

This commit is contained in:
Raja Grewal 2022-07-12 17:02:12 +10:00
parent 40ec791774
commit 48089e5ba4
No known key found for this signature in database
GPG key ID: E34A5801947020A5
11 changed files with 151 additions and 51 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
## Copyright (C) 2019 - 2022 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
## See the file COPYING for copying conditions.
## Alerts the user that a kernel module failed to load due to it being blacklisted by default.
echo "$0: ERROR: This network protocol kernel module is disabled by package security-misc by default. See the configuration file /etc/modprobe.d/30_security-misc.conf | args: $@" >&2
exit 1