/[baselayout]/branches/baselayout-1_12/sbin/rc-daemon.sh
Gentoo

Diff of /branches/baselayout-1_12/sbin/rc-daemon.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1839 Revision 1840
99 [[ -z ${cmd} ]] && cmd="${name}" 99 [[ -z ${cmd} ]] && cmd="${name}"
100 100
101 # We may want to launch the daemon with a custom command 101 # We may want to launch the daemon with a custom command
102 # This is mainly useful for debugging with apps like valgrind, strace 102 # This is mainly useful for debugging with apps like valgrind, strace
103 local bash_service="$( bash_variable "${myservice}" )" 103 local bash_service="$( bash_variable "${myservice}" )"
104 eval x=\"\$\{RC_DAEMON_${bash_service}\}\"
105 if [[ -n ${x} ]]; then 104 if [[ -n ${RC_DAEMON} ]]; then
106 local -a d=( ${x} ) 105 local -a d=( ${RC_DAEMON} )
107 if ${stopping}; then 106 if ${stopping}; then
108 args="--stop" 107 args="--stop"
109 else 108 else
110 args="--start" 109 args="--start"
111 fi 110 fi

Legend:
Removed from v.1839  
changed lines
  Added in v.1840

  ViewVC Help
Powered by ViewVC 1.1.20