summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-05 21:53:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-16 14:54:57 +0100
commit90965566891ee63baaae6be66e55a12c28ab1b65 (patch)
tree7405afb58ca0a4744cb7e4eaaf3b5af623e4ae2b /target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init
parent729b0fa2cae5ccb18c58d77a204180d2fad6db73 (diff)
board: simplify atngw100 support
Minimize atngw100_defconfig, remove atngw100-base_defconfig, and remove the target skeleton and device table. Instead of having complete copies of new target skeletons (making them hard to maintain), we should just have a post-build script that adds/removes/tweaks the existing target skeleton. Moreover, most of the tweaks in this target skeleton were for specific packages, but the policy now is that board defconfig should just build a basic root filesystem with Busybox, and let the user select whichever set of packages (s)he wants. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init')
-rwxr-xr-xtarget/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init
deleted file mode 100755
index e2cf4e303..000000000
--- a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-MODPROBE=/sbin/modprobe
-
-echo -n "Probing modules: "
-if [ ! -x "${MODPROBE}" -o ! -f "/etc/modules" ]; then
- echo "missing"
- exit 1
-else
- echo
-fi
-
-grep '^[^#]' "/etc/modules" | \
-while read module args; do
- [ "$module" ] || continue
- if ${MODPROBE} $module $args; then
- echo " $module loaded"
- else
- echo " $module failed"
- fi
-done