From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] thttpd: Port thttpd from oe-classic.
Date: Tue, 18 Sep 2012 10:38:47 +0200 [thread overview]
Message-ID: <k39bug$tlg$1@ger.gmane.org> (raw)
In-Reply-To: <1347905904-814-1-git-send-email-fcooper@ti.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-09-12 20:18, Franklin S. Cooper Jr schreef:
> * Port thttpd recipe from oe-classic to meta-oe.
It should go into meta-networking
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> ---
> diff --git a/meta-oe/recipes-extended/thttpd/thttpd-2.25b/init
> b/meta-oe/recipes-extended/thttpd/thttpd-2.25b/init new file mode 100644
> index 0000000..df6d648 --- /dev/null +++
> b/meta-oe/recipes-extended/thttpd/thttpd-2.25b/init @@ -0,0 +1,47 @@ +#!
> /bin/sh +# +# This is an init script for openembedded +# Copy it to
> /etc/init.d/thttpd and type +# > update-rc.d thttpd defaults 60 +# + +
> +thttpd=/usr/sbin/thttpd +test -x "$thttpd" || exit 0 + + +case "$1" in +
> start) + echo -n "Starting thttpd" + start-stop-daemon --start
> --quiet --exec $thttpd -- -d @@SRVDIR + echo "." + ;; + stop) +
> echo -n "Stopping thttpd" + start-stop-daemon --stop --quiet --exec
> $thttpd + echo "." + ;; + reload|force-reload) +
> start-stop-daemon --stop --quiet --signal 1 --exec $thttpd + ;; +
> restart) + echo -n "Stopping thttpd" + start-stop-daemon --stop
> --quiet --exec $thttpd -- -d @@SRVDIR + echo "." + echo -n "Waiting
> for thttpd to die off" + for i in 1 2 3 ; + do + sleep 1 +
> echo -n "." + done + echo "" + echo -n "Starting thttpd" +
> start-stop-daemon --start --quiet --exec $thttpd -- -d @@SRVDIR + echo
> "." + ;; + *) + echo "Usage: /etc/init.d/thttpd
> {start|stop|reload|restart|force-reload}" + exit 1 +esac + +exit 0
And that's not LSB compliant.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQWDMXMkyGM64RGpERAuzAAJ44UYtqHx35wKF9m0vy6rDY1d67zwCfbYyv
dqzWiGMeiAdkWYrHLR9EAt4=
=hJhu
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-09-18 8:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 18:18 [meta-oe][PATCH] thttpd: Port thttpd from oe-classic Franklin S. Cooper Jr
2012-09-18 8:38 ` Koen Kooi [this message]
2012-09-18 15:39 ` Joe MacDonald
2012-10-19 10:44 ` Paul Eggleton
2012-10-19 12:10 ` Joe MacDonald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='k39bug$tlg$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.