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
1 On Wed, 2005-08-17 at 12:00 +0200, Natanael Copa wrote:
2 > So far the only problem seems to be that some init.d scripts use
3 > "killall /path/to/binary" instead of "killall binary". Specifying the
4 > path does not work with busybox killall.
5
6 You could specify an sh-wrapper for killall that strips the path (until
7 this is fixed in the affected init scripts):
8
9 killall() {
10 /usr/sbin/killall `basename $1`
11 }
12
13 Completely untested, btw :)
14
15 ./Brix
16 --
17 Henrik Brix Andersen <brix@g.o>
18 Gentoo Metadistribution | Mobile computing herd

Attachments

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

Replies

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