Debian Codegraph @

debian/bug-script

raw symbols SCIP
1 #!/bin/bash
2
3 cat <<EOF
4
5 Providing additional information can help diagnose problems with cryptsetup.
6 Specifically, this would include:
7 - kernel cmdline (copy of /proc/cmdline).
8 - crypttab configuration (copy of /etc/crypttab).
9 - fstab configuration (copy of /etc/fstab).
10 If this information is not relevant for your bug report or you have privacy
11 concerns, please choose no.
12
13 EOF
14
15 yesno "Do you want to provide additional information [Y|n]? " yep
16 [ "$REPLY" = yep ] || exit 0
17
18 exec >&3
19
20 echo "-- /proc/cmdline"
21 cat /proc/cmdline
22 echo
23
24 if [ -r /etc/crypttab ]; then
25 echo "-- /etc/crypttab"
26 cat /etc/crypttab
27 echo
28 fi
29
30 if [ -r /etc/fstab ]; then
31 echo "-- /etc/fstab"
32 cat /etc/fstab
33 echo
34 fi
35
36 echo "-- lsmod"
37 lsmod
38 echo