summaryrefslogtreecommitdiffstats
path: root/debian/templates/image.bug/include-modules
blob: 22271c90588ef8d603fc82aba9eb9406caf2d834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}