Debian Codegraph @

debian/bug-script

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 catscip-shell system . . 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 [scip-shell system . . `[`. "$REPLY" = yep ] || exit 0
17
18 exec >&3
19
20 echoscip-shell system . . echo. "-- /proc/cmdline"
21 catscip-shell system . . cat. /proc/cmdlinescip-shell filesystem . . `/proc/cmdline`.
22 echoscip-shell system . . echo.
23
24 if [scip-shell system . . `[`. -r /etc/crypttabscip-shell filesystem . . `/etc/crypttab`. ]; then
25 echoscip-shell system . . echo. "-- /etc/crypttab"
26 catscip-shell system . . cat. /etc/crypttabscip-shell filesystem . . `/etc/crypttab`.
27 echoscip-shell system . . echo.
28 fi
29
30 if [scip-shell system . . `[`. -r /etc/fstabscip-shell filesystem . . `/etc/fstab`. ]; then
31 echoscip-shell system . . echo. "-- /etc/fstab"
32 catscip-shell system . . cat. /etc/fstabscip-shell filesystem . . `/etc/fstab`.
33 echoscip-shell system . . echo.
34 fi
35
36 echoscip-shell system . . echo. "-- lsmod"
37 lsmod
38 echoscip-shell system . . echo.