Return to rc.shutdown CVS log | Up to [local] / src / etc |
version 1.8, 2010/10/26 20:56:03 | version 1.9, 2010/11/17 13:43:19 | ||
---|---|---|---|
|
|
||
echo -n 'stopping local daemons:' | echo -n 'stopping local daemons:' | ||
while [ -n "$rc_scripts" ]; do | while [ -n "${rc_scripts}" ]; do | ||
_r=${rc_scripts##* } | _r=${rc_scripts##* } | ||
rc_scripts=${rc_scripts%%*( )${_r}} | rc_scripts=${rc_scripts%%*( )${_r}} | ||
[ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} stop && echo -n " ${_r}" | [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} stop && echo -n " ${_r}" |