mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-22 15:49:30 -04:00
More verbose kernel module blocking error logs
This commit is contained in:
parent
40ec791774
commit
48089e5ba4
11 changed files with 151 additions and 51 deletions
10
bin/disabled-module-by-security-misc/block-network
Executable file
10
bin/disabled-module-by-security-misc/block-network
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue