| … | |
… | |
| 385 | eerror "DO NOT USE EXIT IN INIT.D SCRIPTS" |
385 | eerror "DO NOT USE EXIT IN INIT.D SCRIPTS" |
| 386 | eerror "This IS a bug, please fix your broken init.d" |
386 | eerror "This IS a bug, please fix your broken init.d" |
| 387 | unset -f exit |
387 | unset -f exit |
| 388 | exit "$@" |
388 | exit "$@" |
| 389 | } |
389 | } |
|
|
390 | |
|
|
391 | # Apply any ulimits if defined |
|
|
392 | [[ -n ${RC_ULIMIT} ]] && ulimit ${RC_ULIMIT} |
|
|
393 | |
| 390 | # Stop einfo/ebegin/eend from working as parallel messes us up |
394 | # Stop einfo/ebegin/eend from working as parallel messes us up |
| 391 | [[ ${RC_PARALLEL_STARTUP} == "yes" ]] && RC_QUIET_STDOUT="yes" |
395 | [[ ${RC_PARALLEL_STARTUP} == "yes" ]] && RC_QUIET_STDOUT="yes" |
|
|
396 | |
| 392 | start |
397 | start |
| 393 | ) |
398 | ) |
| 394 | retval="$?" |
399 | retval="$?" |
| 395 | |
400 | |
| 396 | # If a service has been marked inactive, exit now as something |
401 | # If a service has been marked inactive, exit now as something |