/[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 1684 Revision 1685
187 for arg in "$@"; do 187 for arg in "$@"; do
188 [[ ${arg##*/} == "rpc.nfsd" ]] && arg="${arg%/*}/nfsd" 188 [[ ${arg##*/} == "rpc.nfsd" ]] && arg="${arg%/*}/nfsd"
189 args="${args} '"${arg}"'" 189 args="${args} '"${arg}"'"
190 done 190 done
191 191
192 eval /bin/pidof -x ${args} 192 eval @GENTOO_PORTAGE_EPREFIX@/bin/pidof -x ${args}
193} 193}
194 194
195# bool is_daemon_running(char* cmd, char* pidfile) 195# bool is_daemon_running(char* cmd, char* pidfile)
196# 196#
197# Returns 0 if the given daemon is running, otherwise 1 197# Returns 0 if the given daemon is running, otherwise 1

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

  ViewVC Help
Powered by ViewVC 1.1.20