Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / common / boot / grub2 / genfslist.sh
blobec48e86edff40a76d9118a0c89f0ca33bdda4d0e
1 #! /bin/sh
3 # Copyright (C) 2005 Free Software Foundation, Inc.
5 # This gensymlist.sh is free software; the author
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
14 # Read source code from stdin and detect fs names.
16 module=$1
18 # Ignore kernel.mod.
19 if test $module = kernel; then
20 exit
23 # For now, this emits only a module name, if the module registers a filesystem.
24 if grep -v "^#" | grep '^ *grub_fs_register' >/dev/null 2>&1; then
25 echo $module