[PATCH 1/1] UBUNTU: make the init script LBM compliant
Andy Whitcroft
apw at canonical.com
Thu Jun 11 22:09:32 UTC 2009
On Thu, Jun 11, 2009 at 11:22:35AM -0500, Mario Limonciello wrote:
> Hi Andy:
>
> Andy Whitcroft wrote:
> > BugLink: http://bugs.launchpad.net/bugs/305587
> >
> > Update the LRM init script to be LSB complient. This includes adding a
> > status mode to the script and the inclusion of the requisite LSB headers.
> >
> > Signed-off-by: Andy Whitcroft <apw at canonical.com>
> > ---
> > debian/linux-restricted-modules-common.init | 9 ++++++++-
> > 1 files changed, 8 insertions(+), 1 deletions(-)
> >
> > diff --git a/debian/linux-restricted-modules-common.init b/debian/linux-restricted-modules-common.init
> > index 41a705f..3abb41f 100644
> > --- a/debian/linux-restricted-modules-common.init
> > +++ b/debian/linux-restricted-modules-common.init
> > @@ -1,4 +1,11 @@
> > #!/bin/sh
> > +### BEGIN INIT INFO
> > +# Provides: linux-restricted-modules-common
> > +# Required-Start: $local_fs
> > +# Default-Start: S 0 6
> > +# Short-Description: Setup the linux restricted modules
> > +# Description: Link the linux restricted modules at run time.
> > +### END INIT INFO
> >
> > test -x /sbin/lrm-manager || exit 0
> >
> > @@ -14,7 +21,7 @@ case "$1" in
> > exit $status
> > fi
> > ;;
> > - stop|restart|reload|force-reload)
> > + stop|restart|reload|force-reload|status)
> > ;;
> > *)
> > echo "Usage: $0 {start}"
> >
> Isn't this a bit redundant since LRM doesn't exist in karmic anymore
> though? Why is there still such an init script in the first place?
Yes LRM is currently absent in Karmic. However, there is some
likelyhood of its resurection for some OEM specific installs. The plan
therefore is to commit it to the Jaunty repository, then it will be
fixed in Jaunty when the next LRM update occurs. Also if the Karmic
version is resurected it would be taken from the same source.
-apw
More information about the kernel-team
mailing list