security-misc/usr/bin/disabled-cdrom-by-security-misc
Patrick Schleizer 33114f771a
copyright
2024-12-31 13:26:21 -05:00

11 lines
442 B
Bash
Executable File

#!/bin/bash
## Copyright (C) 2019 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.
## Alerts user that a kernel module failed to load due to it being explicitly disabled by default.
echo "$0: ALERT: This CD-ROM/DVD kernel module is disabled by package security-misc by default. See the configuration file /etc/modprobe.d/30_security-misc_disable.conf for details. | args: $@" >&2
exit 1