diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 432ad434..ba61fc6e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -798,3 +798,9 @@ fi wait [ "$PROMPT" != no ] && rm -f /var/run/getkey_done +if [ -f /etc/sysconfig/mcheck ]; then + . /etc/sysconfig/mcheck + if [ -n "$MALLOC_CHECK_" ]; then + export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) + fi +fi |