summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100-base/target_skeleton/etc/init.d/S01hotplug
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-base/target_skeleton/etc/init.d/S01hotplug
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-base/target_skeleton/etc/init.d/S01hotplug')
-rwxr-xr-xtarget/device/Atmel/atngw100-base/target_skeleton/etc/init.d/S01hotplug14
1 files changed, 0 insertions, 14 deletions
diff --git a/target/device/Atmel/atngw100-base/target_skeleton/etc/init.d/S01hotplug b/target/device/Atmel/atngw100-base/target_skeleton/etc/init.d/S01hotplug
deleted file mode 100755
index a30f06a09..000000000
--- a/target/device/Atmel/atngw100-base/target_skeleton/etc/init.d/S01hotplug
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /bin/sh
-
-echo -n "Setting up mdev: "
-set -e
-trap 'echo "failed"' EXIT
-/bin/ln -s /proc/self/fd /dev/fd
-/bin/ln -s /proc/self/fd/0 /dev/stdin
-/bin/ln -s /proc/self/fd/1 /dev/stdout
-/bin/ln -s /proc/self/fd/2 /dev/stderr
-/bin/ln -s /proc/kcore /dev/core
-/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug
-/sbin/mdev -s
-trap - EXIT
-echo "done"