summaryrefslogtreecommitdiff
path: root/target/device/jp/q5/target_skeleton/etc/init.d/rcS
diff options
context:
space:
mode:
authorDavid Anders <dave123@abcsinc.com>2006-01-25 14:59:21 +0000
committerDavid Anders <dave123@abcsinc.com>2006-01-25 14:59:21 +0000
commit3d8aa36b65b2751d9dc8ba2c42a61f6ae5d5eeaf (patch)
tree17814f432b3cfb7aa5e3ef6aa14e70152c6cb3f5 /target/device/jp/q5/target_skeleton/etc/init.d/rcS
parentc11d4552d4ae289dda2f675777eeafa1e4e9aab5 (diff)
add the amd au1500 based q5 board per case 0000374
Diffstat (limited to 'target/device/jp/q5/target_skeleton/etc/init.d/rcS')
-rwxr-xr-xtarget/device/jp/q5/target_skeleton/etc/init.d/rcS27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/device/jp/q5/target_skeleton/etc/init.d/rcS b/target/device/jp/q5/target_skeleton/etc/init.d/rcS
new file mode 100755
index 000000000..de411534d
--- /dev/null
+++ b/target/device/jp/q5/target_skeleton/etc/init.d/rcS
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+
+# Start all init scripts in /etc/init.d
+# executing them in numerical order.
+#
+for i in /etc/init.d/S??* ;do
+
+ # Ignore dangling symlinks (if any).
+ [ ! -f "$i" ] && continue
+
+ case "$i" in
+ *.sh)
+ # Source shell script for speed.
+ (
+ trap - INT QUIT TSTP
+ set start
+ . $i
+ )
+ ;;
+ *)
+ # No sh extension, so fork subprocess.
+ $i start
+ ;;
+ esac
+done
+