summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/etc/init.d/rcS
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-06 00:52:16 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-06 00:52:16 +0000
commit6fa165042b07cbb6ff52d2439e79d8ffe17be4ab (patch)
treee27ce18c541d0166fa93d2d596091036835321b0 /openwrt/target/default/target_skeleton/etc/init.d/rcS
parentb7edba48e2818e1d302f385c1757feca86353366 (diff)
openwrt root filesystem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/init.d/rcS')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/rcS26
1 files changed, 12 insertions, 14 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/init.d/rcS b/openwrt/target/default/target_skeleton/etc/init.d/rcS
index de411534da..9510e941a5 100755
--- a/openwrt/target/default/target_skeleton/etc/init.d/rcS
+++ b/openwrt/target/default/target_skeleton/etc/init.d/rcS
@@ -1,6 +1,5 @@
#!/bin/sh
-
# Start all init scripts in /etc/init.d
# executing them in numerical order.
#
@@ -10,18 +9,17 @@ for i in /etc/init.d/S??* ;do
[ ! -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
- ;;
+ *.sh)
+ # Source shell script for speed.
+ (
+ trap - INT QUIT TSTP
+ set start
+ . $i
+ )
+ ;;
+ *)
+ # No sh extension, so fork subprocess.
+ $i start
+ ;;
esac
done
-