On Apr 14, 2010, at 8:37 AM, Dan Nicholson <dbn.li...@gmail.com> wrote:
On Wed, Apr 14, 2010 at 4:14 AM, Victor Lowther
<victor.lowt...@gmail.com> wrote:
On Wed, 2010-04-14 at 09:37 +0100, Richard Hughes wrote:
On 13 April 2010 04:20, Victor Lowther <victor.lowt...@gmail.com>
wrote:
pm-utils now implements its own service command
What does it do? What's the point?
Avoids the need to patch functions.in for every non-LSB distro that
does
not provide one of its own.
Just for completeness, service has nothing to do with the LSB. It's
just a common (and convenient) script used in linux distros. If you
just wanted to assume LSB compliance, you could run /etc/init.d/foo
directly.
Indeed. We used to define a service function that assumed LSB
compliance if a service command was not provided by the distro. That
function had to be patched by every non LSB compliant distro. I moved
our implementation of service into it's own command in our private bin
directory, and structured it to make the inevitable special casing
more modular.
--
Dan
_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils