From: Yaroslav Halchenko Date: Fri, 23 Sep 2011 16:51:22 +0000 (-0400) Subject: tentative hook to load vfat module as well X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6daf7496d629a2d92e5252cc804ed21fa507c8ec;p=neurodebian.git tentative hook to load vfat module as well --- diff --git a/live/config/chroot_local-hooks/all_chroot_linux-modules.sh b/live/config/chroot_local-hooks/all_chroot_linux-modules.sh new file mode 100755 index 0000000..f01c9e9 --- /dev/null +++ b/live/config/chroot_local-hooks/all_chroot_linux-modules.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# This is a hook for live-build(7) to add entries to /etc/modules. +# To enable it, copy or symlink this hook into your config/chroot_local-hooks +# directory. + +MODULES="vfat" + +for MODULE in ${MODULES} +do + if ! grep -qs /etc/modules ${MODULE} + then + echo ${MODULE} >> /etc/modules + fi +done