2009-01-09 14:50:21 -01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-09-02 12:45:03 +00:00
|
|
|
# This is a hook for live-build(7) to add entries to /etc/modules.
|
2009-01-09 14:50:21 -01:00
|
|
|
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
|
|
|
# directory.
|
|
|
|
|
|
|
|
MODULES=""
|
|
|
|
|
|
|
|
for MODULE in ${MODULES}
|
|
|
|
do
|
|
|
|
if ! grep -qs /etc/modules ${MODULE}
|
|
|
|
then
|
|
|
|
echo ${MODULE} >> /etc/modules
|
|
|
|
fi
|
|
|
|
done
|