log rcS output
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@816 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d2d901cd7f
commit
326cae8e77
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# set leds to normal state
|
# set leds to normal state
|
||||||
echo "0x00" > /proc/sys/diag
|
echo "0x00" > /proc/sys/diag
|
||||||
sysctl -p
|
sysctl -p >&-
|
||||||
sysctl -n
|
|
||||||
|
|
|
@ -1,25 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Start all init scripts in /etc/init.d
|
# Start all init scripts in /etc/init.d
|
||||||
# executing them in numerical order.
|
# executing them in numerical order.
|
||||||
#
|
#
|
||||||
for i in /etc/init.d/S??* ;do
|
for i in /etc/init.d/S* ;do
|
||||||
|
[ -f "$i" ] && $i start
|
||||||
# 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
|
done
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
::sysinit:/etc/init.d/rcS
|
::sysinit:/etc/init.d/rcS 2>&1 | logger -p 6 -t '' -s
|
||||||
::shutdown:/sbin/halt
|
::shutdown:/sbin/halt
|
||||||
tts/0::askfirst:/bin/ash --login
|
tts/0::askfirst:/bin/ash --login
|
||||||
|
|
Loading…
Reference in New Issue