Gentoo Archives: gentoo-embedded

From: Henrik Brix Andersen <brix@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] porting runscript to embedded
Date: Wed, 17 Aug 2005 10:37:45
Message-Id: 1124274956.26249.32.camel@sponge.fungus
In Reply to: [gentoo-embedded] porting runscript to embedded by Natanael Copa
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): killall() { /usr/sbin/killall `basename $1` } Completely untested, btw :) ./Brix -- Henrik Brix Andersen <brix@g.o> Gentoo Metadistribution | Mobile computing herd


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-embedded] porting runscript to embedded Natanael Copa <mlists@××××××.org>