start-stop-daemon does not recognise --start
Denys Vlasenko
vda.linux at googlemail.com
Thu Oct 18 09:59:50 UTC 2007
On Thursday 18 October 2007 01:56, Hamish Moffatt wrote:
> On Thu, Oct 18, 2007 at 09:58:41AM +1000, Hamish Moffatt wrote:
> > start-stop-daemon claims to offer --start, but then doesn't accept it:
>
> Actually all the long options seems to be broken.
Works for me:
$ ./busybox start-stop-daemon --start --exec busybox
BusyBox v1.8.0.svn (2007-10-17 19:32:08 IST) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!
Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ...
$ ./busybox start-stop-daemon --start --exec ./busybox echo TEST
TEST
You probably deselected long options support. Can you post
your .config?
Help text needs to be fixed to not show longopts if they are disabled...
--
vda
More information about the busybox
mailing list