]> git.donarmstrong.com Git - neurodebian.git/blob - live/config/chroot_local-hooks/all_chroot_linux-modules.sh
tentative hook to load vfat module as well
[neurodebian.git] / live / config / chroot_local-hooks / all_chroot_linux-modules.sh
1 #!/bin/sh
2
3 # This is a hook for live-build(7) to add entries to /etc/modules.
4 # To enable it, copy or symlink this hook into your config/chroot_local-hooks
5 # directory.
6
7 MODULES="vfat"
8
9 for MODULE in ${MODULES}
10 do
11         if ! grep -qs /etc/modules ${MODULE}
12         then
13                 echo ${MODULE} >> /etc/modules
14         fi
15 done