diff options
| -rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc index 1f400d9e55..7ca41ae1ae 100755 --- a/meta/recipes-core/sysvinit/sysvinit/rc +++ b/meta/recipes-core/sysvinit/sysvinit/rc | |||
| @@ -65,6 +65,9 @@ startup() { | |||
| 65 | # Set onlcr to avoid staircase effect. | 65 | # Set onlcr to avoid staircase effect. |
| 66 | stty onlcr 0>&1 | 66 | stty onlcr 0>&1 |
| 67 | 67 | ||
| 68 | # Limit stack size for startup scripts | ||
| 69 | [ "$STACK_SIZE" == "" ] || ulimit -S -s $STACK_SIZE | ||
| 70 | |||
| 68 | # Now find out what the current and what the previous runlevel are. | 71 | # Now find out what the current and what the previous runlevel are. |
| 69 | 72 | ||
| 70 | runlevel=$RUNLEVEL | 73 | runlevel=$RUNLEVEL |
