/[gentoo-alt]/trunk/baselayout-prefix/sbin/rc-daemon.sh
Gentoo

Diff of /trunk/baselayout-prefix/sbin/rc-daemon.sh

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

Revision 1683 Revision 1684
224# int rc_start_daemon(void) 224# int rc_start_daemon(void)
225# 225#
226# We don't do anyting fancy - just pass the given options 226# We don't do anyting fancy - just pass the given options
227# to start-stop-daemon and return the value 227# to start-stop-daemon and return the value
228rc_start_daemon() { 228rc_start_daemon() {
229 eval /sbin/start-stop-daemon "${args}" 229 eval @GENTOO_PORTAGE_EPREFIX@/sbin/start-stop-daemon "${args}"
230 local retval="$?" 230 local retval="$?"
231 231
232 [[ ${retval} != "0" ]] && return "${retval}" 232 [[ ${retval} != "0" ]] && return "${retval}"
233 [[ ${RC_WAIT_ON_START} == "0" ]] && return "${retval}" 233 [[ ${RC_WAIT_ON_START} == "0" ]] && return "${retval}"
234 234
363 363
364 rc_setup_daemon_vars 364 rc_setup_daemon_vars
365 365
366 # We pass --oknodo and --test directly to start-stop-daemon and return 366 # We pass --oknodo and --test directly to start-stop-daemon and return
367 if ${nothing}; then 367 if ${nothing}; then
368 eval /sbin/start-stop-daemon "${args}" 368 eval @GENTOO_PORTAGE_EPREFIX@/sbin/start-stop-daemon "${args}"
369 return "$?" 369 return "$?"
370 fi 370 fi
371 371
372 if ${stopping}; then 372 if ${stopping}; then
373 rc_stop_daemon 373 rc_stop_daemon

Legend:
Removed from v.1683  
changed lines
  Added in v.1684

  ViewVC Help
Powered by ViewVC 1.1.20