Lines 278-285
Link Here
|
278 |
|
278 |
|
279 |
service_stopped "${service}" && return 0 |
279 |
service_stopped "${service}" && return 0 |
280 |
|
280 |
|
281 |
[[ -L "${svcdir}/softscripts.new/${service}" ]] \ |
281 |
# If service is in the new runlevel stop it if the config |
282 |
&& return 0 |
282 |
# file it will use changes due to config profile |
|
|
283 |
if [[ -L "${svcdir}/softscripts.new/${service}" ]] ; then |
284 |
[[ ${RC_USE_CONFIG_PROFILE} != "yes" ]] && return 0 |
285 |
[[ ${OLDSOFTLEVEL} == "${SOFTLEVEL}" ]] && return 0 |
286 |
if [[ ! -e /etc/conf.d/"${service}.${OLDSOFTLEVEL}" |
287 |
&& ! -e /etc/conf.d/"${service}.${SOFTLEVEL}" ]] ; then |
288 |
return 0 |
289 |
fi |
290 |
fi |
283 |
|
291 |
|
284 |
if [[ ${SOFTLEVEL} != "reboot" \ |
292 |
if [[ ${SOFTLEVEL} != "reboot" \ |
285 |
&& ${SOFTLEVEL} != "shutdown" \ |
293 |
&& ${SOFTLEVEL} != "shutdown" \ |