aboutsummaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init
diff options
context:
space:
mode:
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 e2cf4e3036..0000000000
--- 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