[PATCH 1/1] UBUNTU: make the init script LBM compliant

Mario Limonciello mario_limonciello at dell.com
Thu Jun 11 16:22:35 UTC 2009


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?

Regards
-- 
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello at dell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090611/cdd6e8db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090611/cdd6e8db/attachment.sig>


More information about the kernel-team mailing list