diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:49:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:49:34 +0200 |
commit | 8a2754e0fbdea7497281327f2896be2a1253a107 (patch) | |
tree | bc7c400745fde54e6fb7a010fcb026258564d3bc /package/base-files/extra/etc/init.d/rcS | |
parent | 9bd4456c5a83c3474fdf9fe5cf14004a0874e2c8 (diff) | |
parent | 2d3aaf1664850031f5497e121dc82ab65f63641a (diff) |
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/extra/etc/init.d/rcS')
-rwxr-xr-x | package/base-files/extra/etc/init.d/rcS | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/base-files/extra/etc/init.d/rcS b/package/base-files/extra/etc/init.d/rcS new file mode 100755 index 000000000..fd56feebf --- /dev/null +++ b/package/base-files/extra/etc/init.d/rcS @@ -0,0 +1,10 @@ +#!/bin/sh +export PATH=/bin:/sbin:/usr/bin:/usr/sbin +{ + grep '^#INIT ' /etc/init.d/* | \ + sort -nk2 | \ + while read line; do + /bin/sh ${line%%:*} autostart 2>&1 + done + test -e /etc/init.d/boot.local && (/bin/sh /etc/init.d/boot.local) 2>&1 +} | logger -s -p 6 -t '' & |