From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OBB8Y-0006FC-M7 for garchives@archives.gentoo.org; Sun, 09 May 2010 18:21:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9810E0857; Sun, 9 May 2010 18:21:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7087DE0770 for ; Sun, 9 May 2010 18:21:10 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D40CF1B4064; Sun, 9 May 2010 18:21:09 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rc-update interface Date: Sun, 9 May 2010 14:21:01 -0400 User-Agent: KMail/1.13.1 (Linux/2.6.33.2; KDE/4.4.1; x86_64; ; ) Cc: Christopher Harvey References: <4BE68CFF.3080608@basementcode.com> In-Reply-To: <4BE68CFF.3080608@basementcode.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1589534.nycYTVrP7q"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201005091421.01699.vapier@gentoo.org> X-Archives-Salt: 5b8bae32-5eab-49e3-952b-cbf26e9445db X-Archives-Hash: 7c2aa796ac03c55791f764ebfdadc99a --nextPart1589534.nycYTVrP7q Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Sunday 09 May 2010 06:22:55 Christopher Harvey wrote: > I ran cat /sbin/rc-update and the script is copyright gentoo foundation, > so I'm asking here if there is a programmatic interface to the script. > I'd rather avoid parsing ascii to try to interpret the rc-update state. there is no library or hooks for things. openrc's output can be made terse= =20 for parsing, but if you need something more, file a bug report describing y= our=20 needs and goals. =2Dmike --nextPart1589534.nycYTVrP7q Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJL5v0NAAoJEEFjO5/oN/WBe0kP/1S1kDwCUt/g3t+OjbcmbksI OmujaDkc6LqnH2ZUepf/SwVzkKuSLduAecp2AQXH2vQnv8/qgtOmhjJ3Aswjm1Pi FuHkyHYdJJePWBduZcu+9ZdEytTfkdrbufxIeQPTNekbhVuDJP5kSRZ0XF2397tv GSXrpYf+eny1CVHZWpOUQIfIuvvz2wg+n1UQL/WRuMoWfEyRJHivOMYwIpLS4qoE FRUk2O/YBIcceNaZZnYPZxsqaCCR0N8rV7VElnFc7OdfL+yGLydzUnYpsXAojN3q WO5TdnG59dtpsv9eeREKHMJeSpfSXZmIw0XnnN0WWdVaL5f8mkE2fSbo3YG+YrKN X8kknLMMUGr2tMy4IsBjkMYfr2aDOaEOlx8WA883w/xWu3AP3JVvBioKTlu3VQvy gnP2X1XWJ+TbuuUxJvMgnLARpIGOWuI9gNuWAiydKucBe+b7R+/JO90VlpsyBUmP ZVkJS8kwehtdNgQjMBxi8c/rvlKFAFGIEOvp2uLMaB7czmsW/TjhN7xbAE155e90 kxoESIjVZ2UAFarr8llOVmC7WS7Z6l5IWKVEnB/c8K7GOvONk85W05E/tAQDZ6wP PAm04Hf3YJx7OEkPMgGkdEyOHVwtjwk7kJp8VBYxLqrcnJkogDW5zXCrthrqXQLG NM3ROx73VwSlFNK/TLki =XsxB -----END PGP SIGNATURE----- --nextPart1589534.nycYTVrP7q--