From 6daf7496d629a2d92e5252cc804ed21fa507c8ec Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 23 Sep 2011 12:51:22 -0400 Subject: [PATCH] tentative hook to load vfat module as well --- .../all_chroot_linux-modules.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 live/config/chroot_local-hooks/all_chroot_linux-modules.sh 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 -- 2.39.2