1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

log rcS output

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@816 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm
2005-05-08 22:02:59 +00:00
parent c5916974cb
commit c3379bd970
3 changed files with 4 additions and 23 deletions

View File

@@ -1,5 +1,4 @@
#!/bin/sh
# set leds to normal state
echo "0x00" > /proc/sys/diag
sysctl -p
sysctl -n
sysctl -p >&-

View File

@@ -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