Re: [lfs-dev] lfs bootscripts and multiple instances

2012-02-03 Thread deant
Bruce Dubbs wrote: >> BTW: statusproc() defined in /lib/lsb/init-functions has an "exit 1" just >> after >> it prints its Usage statement; shouldn't this be a "return 1" instead? > >statusproc is a function to print out a nicely formatted status message >from the results of pidofproc. It was desi

Re: [lfs-dev] bootscripts-20111017 statusproc() broken?

2012-01-22 Thread deant
>deant at hawaii.rr.com wrote: > >You are not giving the whole loop: > > while true; do >case "${1}" in > >-p) >pidfile="${2}" >shift 2 >;; > >*) >

Re: [lfs-dev] bootscripts-20111017 statusproc() broken?

2012-01-22 Thread deant
>Bruce Dubbs wrote: >>Dean Takemori wrote: >>lfs/lib/services/init-functions defines statusproc() with this snippit >>to process arguments: >> >>while true; do >> case "${1}" in >> >> -p) >> pidfile="${2}" >> shift 2 >> ;; >> esac >>done >> >> >>Isn't this broken?