13 lines
308 B
Plaintext
13 lines
308 B
Plaintext
add_dmesg() {
|
|
echo '** Kernel log:' >&3
|
|
dmesg | tail -n 100 >&3
|
|
echo >&3
|
|
}
|
|
|
|
ask_dmesg() {
|
|
# Remind the user to attach the kernel log. This should also trigger
|
|
# a reminder in some MUAs if the user tries to send without it.
|
|
echo '** Kernel log: boot messages should be attached' >&3
|
|
echo >&3
|
|
}
|