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! :)
--
[email protected] mailing list