replace /bin/false -> /bin/disabled-by-security-misc

This commit is contained in:
Raja Grewal 2022-07-08 04:11:25 +10:00
parent fa2e30f512
commit 780dc8eec9
No known key found for this signature in database
GPG key ID: E34A5801947020A5
2 changed files with 60 additions and 50 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 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