diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-03 14:32:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-03 14:32:33 +0100 |
commit | 0a56716f1e934368ba039c2ada38fc835f792cb6 (patch) | |
tree | deee8a08794c0d1c221811def92908d7b06f152d /package/base-files/src/etc | |
parent | f98814d9998b0e7200c137c77a5ba99a49b9562b (diff) |
need to fork startup scripts, otherwise init got exit calls and reboots the system
Diffstat (limited to 'package/base-files/src/etc')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index fd56feebf..46a9a49c1 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -4,7 +4,7 @@ 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 + exec 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 '' & |