Lines Matching refs:_cmd
528 # If there's a match, run ${argument}_cmd or the default method
548 # Not needed if ${rc_arg}_cmd is set for
594 # ${rc_arg}_cmd n If set, use this as the method when invoked;
598 # ${rc_arg}_cmd method in the default
602 # don't run ${rc_arg}_cmd.
605 # ${rc_arg}_cmd method, if that method
808 eval _cmd=\$${rc_arg}_cmd _precmd=\$${rc_arg}_precmd \
810 if [ -n "$_cmd" ]; then
822 if [ -n "$_cmd" ]; then
823 debug "run_rc_command: evaluating ${_cmd}()."
824 eval $_cmd $rc_extra_args
1167 local _cmd
1169 _cmd="kill -$1 $rc_pid"
1171 _cmd="su -m ${_user} -c 'sh -c \"${_cmd}\"'"
1173 echo "$_cmd"
1197 eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd