From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from plane.gmane.org ([80.91.229.3]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TaVmz-0003Rf-Ri for openembedded-devel@lists.openembedded.org; Mon, 19 Nov 2012 19:09:45 +0100 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TaVZX-0003sE-FV for openembedded-devel@lists.openembedded.org; Mon, 19 Nov 2012 18:55:51 +0100 Received: from ip4da2a5ae.direct-adsl.nl ([77.162.165.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2012 18:55:51 +0100 Received: from koen by ip4da2a5ae.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2012 18:55:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Mon, 19 Nov 2012 18:55:33 +0100 Message-ID: References: <738d5da6dd36ec7c495cb2ed90d969095e99b8fb.1353345006.git.paul.eggleton@linux.intel.com> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip4da2a5ae.direct-adsl.nl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <738d5da6dd36ec7c495cb2ed90d969095e99b8fb.1353345006.git.paul.eggleton@linux.intel.com> X-Enigmail-Version: 1.4.4 Subject: Re: [meta-networking][PATCH 3/8] quagga: add from OE-Classic, update and tidy-up X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 18:09:46 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 19-11-12 18:11, Paul Eggleton schreef: > * Update to 0.99.21 * Fix SRC_URI to point to a working download > location * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Add old > gentoo patch to fix libcap linking errors * Put binaries in sbindir * Use > useradd.bbclass to create user/groups * Add LSB headers to init script > (borrowed from debian) * Tidy up packaging and directory references * Add > SUMMARY > > Signed-off-by: Paul Eggleton --- dd94a > --- /dev/null +++ > b/meta-networking/recipes-protocols/quagga/files/watchquagga.init @@ -0,0 > +1,64 @@ +#!/bin/sh +# +### BEGIN INIT INFO +# Provides: watchquagga +# > Required-Start: $local_fs $network $remote_fs $syslog +# Required-Stop: > $local_fs $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# > Default-Stop: 0 1 6 +# Short-Description: start and stop the Quagga > watchdog +### END INIT INFO + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +# > Load configuration +test -f /etc/default/watchquagga && . > /etc/default/watchquagga hardcoded $sysconfdir > + +# Check that there are daemons to be monitored. +[ -z "$watch_daemons" > ] && exit 0 + +pidfile="/var/run/quagga/watchquagga.pid" hardcoded $localstatedir > + +case "$1" in + start) + echo -n "Starting quagga watchdog daemon: > watchquagga" + start-stop-daemon --start \ + --pidfile $pidfile \ + > --exec /usr/sbin/watchquagga \ hardcoded $sbindir [..] etc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQqnKVMkyGM64RGpERAk0CAJ4jE0qiE8nK07yULhEyK1CnQQD/cACeJqF2 YZ2NT+afhKPlhw+J3brUhe0= =GWC7 -----END PGP SIGNATURE-----