Dell 9G + Debian page on linux.dell.com

Bas van der Vlies basv at sara.nl
Thu Nov 30 02:08:00 CST 2006


sean finney wrote:
> hi there,
> 
> On Tue, 2006-11-28 at 17:10 +0100, Bas van der Vlies wrote:
> 
>>>         then
>>> -               killproc ${PROGRAM_DAEMON} >/dev/null
>>> +               kill ${PROGRAM_DAEMON} >/dev/null
>>>         fi
>>>
>>>         STATUS ${PROGRAM_DAEMON} >/dev/null
>>>
>> Can we not replace killproc by killall?
> 
> 
> actually, killproc is an lsb-defined function.  if you have your
> packages depend on lsb-base, you can source the
> file /lib/lsb/init-functions, which contains the killproc definition.
> 

That is a better solution ;-) Thanks saves a lot of work also for other 
software that i maintain.

Regards

-- 
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************



More information about the Linux-PowerEdge mailing list