From b32a95eced1d0f22be1751467ff365117e200f3f Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 29 Jul 2007 07:17:01 +0000 Subject: Add atngw100 target --- .../Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 target/device/Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug') diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug new file mode 100755 index 000000000..89c49e117 --- /dev/null +++ b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S01hotplug @@ -0,0 +1,14 @@ +#! /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" -- cgit v1.2.3