log rcS output
authorMike Baker <mbm@openwrt.org>
Sun, 8 May 2005 22:02:59 +0000 (22:02 +0000)
committerMike Baker <mbm@openwrt.org>
Sun, 8 May 2005 22:02:59 +0000 (22:02 +0000)
SVN-Revision: 816

openwrt/target/default/target_skeleton/etc/init.d/S99done
openwrt/target/default/target_skeleton/etc/init.d/rcS
openwrt/target/default/target_skeleton/etc/inittab

index 4ecba5f3e520cfae92789f3873e652d0f24c1a5d..ce60337212d07f38d5e6ef2e8e9287bb2a42bdd7 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
 # set leds to normal state
 echo "0x00" > /proc/sys/diag
-sysctl -p
-sysctl -n
+sysctl -p >&-
index 9510e941a5fdabf97d5002f67974b9d242e369e1..262907ae48ca50ea14e74377db16b988d18e7084 100755 (executable)
@@ -1,25 +1,7 @@
 #!/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
+for i in /etc/init.d/S* ;do
+  [ -f "$i" ] && $i start
 done
index aab2df9562b8efd32cdc804aaa105df05e21b6ee..3be6aae5cf1e5ef0ed261c2d7a47d5748ea11de0 100644 (file)
@@ -1,3 +1,3 @@
-::sysinit:/etc/init.d/rcS
+::sysinit:/etc/init.d/rcS 2>&1 | logger -p 6 -t '' -s
 ::shutdown:/sbin/halt
 tts/0::askfirst:/bin/ash --login