fix startup logging
[openwrt-10.03/.git] / target / default / target_skeleton / etc / init.d / rcS
index 262907ae48ca50ea14e74377db16b988d18e7084..d52152c31a61f1dfd5d9813794719e3de7d9267a 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/sh
-# Start all init scripts in /etc/init.d
-# executing them in numerical order.
-#
+syslogd -C 16
+klogd
 for i in /etc/init.d/S* ;do
-  [ -f "$i" ] && $i start
+  $i start 2>&1 | logger -s -p 6 -t ''
 done