Konstantin Demin
c3d09a3e94
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
14 lines
330 B
Plaintext
14 lines
330 B
Plaintext
add_modules() {
|
|
echo '** Loaded modules:' >&3
|
|
# List modules along with any taint flags.
|
|
# We should be able to tell cut to use an empty output delimiter, but
|
|
# currently (coreutils 8.13-3) this results in null bytes in the output.
|
|
cut -d' ' -f1,7 /proc/modules | sed 's/ //' >&3
|
|
echo >&3
|
|
}
|
|
|
|
ask_modules() {
|
|
true
|
|
}
|
|
|