Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Natanael Copa <mlists@...>
Subject: Re: porting runscript to embedded
Date: Wed, 17 Aug 2005 12:46:03 +0200
Henrik Brix Andersen wrote:

>On Wed, 2005-08-17 at 12:00 +0200, Natanael Copa wrote:
>  
>
>>So far the only problem seems to be that some init.d scripts use 
>>"killall /path/to/binary" instead of "killall binary". Specifying the 
>>path does not work with busybox killall.
>>    
>>
>
>You could specify an sh-wrapper for killall that strips the path (until
>this is fixed in the affected init scripts):
>  
>

The question is if it should be "fixed" or if that is the way it is 
supposed to be.

>killall() {
>	/usr/sbin/killall `basename $1`
>}
>  
>

A wrapper... ofcourse!

>Completely untested, btw :)
>  
>

Yes, it should be /bin/killall when we talk about busybox, but I got the 
idea.
I really liked this. Thank you very much! :)
-- 
gentoo-embedded@g.o mailing list


References:
porting runscript to embedded
-- Natanael Copa
Re: porting runscript to embedded
-- Henrik Brix Andersen
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: porting runscript to embedded
Next by thread:
eBOX
Previous by date:
Re: porting runscript to embedded
Next by date:
Re: x86 SBC Gentoo Embedded HotTo version 0.07


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.