summaryrefslogtreecommitdiff
path: root/examples/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-19 03:20:08 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-19 03:20:08 +0200
commit6d45398eddcf8784e5f142ba77969f1949077fb7 (patch)
treeec174566d22e5efab33033ca96c0a5f88424abe5 /examples/hooks
parent998584f2afeac4356b32c2fd59623a7cdd89c5f2 (diff)
downloadvyos-live-build-6d45398eddcf8784e5f142ba77969f1949077fb7.tar.gz
vyos-live-build-6d45398eddcf8784e5f142ba77969f1949077fb7.zip
Removing linux-modules.chroot example hook, this can be done by kmods conf.d directories directly.
Diffstat (limited to 'examples/hooks')
-rwxr-xr-xexamples/hooks/linux-modules.chroot15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/hooks/linux-modules.chroot b/examples/hooks/linux-modules.chroot
deleted file mode 100755
index 8b07294bf..000000000
--- a/examples/hooks/linux-modules.chroot
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/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=""
-
-for MODULE in ${MODULES}
-do
- if ! grep -qs /etc/modules ${MODULE}
- then
- echo ${MODULE} >> /etc/modules
- fi
-done