diff options
Diffstat (limited to 'package/base-files/files/etc/init.d/rcS')
-rwxr-xr-x | package/base-files/files/etc/init.d/rcS | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/package/base-files/files/etc/init.d/rcS b/package/base-files/files/etc/init.d/rcS index 755e08b9c8..61c1d6dab7 100755 --- a/package/base-files/files/etc/init.d/rcS +++ b/package/base-files/files/etc/init.d/rcS @@ -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 '' & |