parent
15e9bc4f26
commit
291420a8f3
@ -1,10 +1,8 @@ |
||||
#!/bin/sh |
||||
# Copyright (C) 2006 OpenWrt.org |
||||
|
||||
( |
||||
for i in /etc/rc.d/S*; do |
||||
$i boot 2>&1 |
||||
{ |
||||
for i in /etc/rc.d/$1*; do |
||||
$i $2 2>&1 |
||||
done |
||||
|
||||
sysctl -p >&- |
||||
) | logger -s -p 6 -t '' & |
||||
} | logger -s -p 6 -t '' & |
||||
|
@ -0,0 +1,7 @@ |
||||
#!/bin/sh /etc/rc.common |
||||
# Copyright (C) 2006 OpenWrt.org |
||||
|
||||
START=99 |
||||
start() { |
||||
[ -f /etc/sysctl.conf ] && sysctl -p >&- |
||||
} |
@ -1,3 +1,4 @@ |
||||
::sysinit:/etc/init.d/rcS |
||||
::sysinit:/etc/init.d/rcS S boot |
||||
::shutdown:/etc/init.d/rcS K stop |
||||
tts/0::askfirst:/bin/ash --login |
||||
ttyS0::askfirst:/bin/ash --login |
||||
|
Loading…
Reference in new issue