From: Chris Horn Date: Thu, 16 Jun 2016 17:57:37 +0000 (-0500) Subject: LU-8293 lnet: Add insserv header to lnet init script X-Git-Tag: 2.10.5-RC1~21 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F32518%2F2;p=fs%2Flustre-release.git LU-8293 lnet: Add insserv header to lnet init script The lnet init script does not contain header information as described by the insserv man page. This header information is needed to ensure the lnet init script is not run until openibd has been able to start Lustre-change: https://review.whamcloud.com/20835 Lustre-commit: c99b645470427c74b0ba6ea9a031d747b92030b5 Signed-off-by: Chris Horn Change-Id: I6f778e827f88ce34199dff70be5d5089f0ba51b9 Reviewed-by: Nathaniel Clark Reviewed-by: Bob Glossman Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/32518 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond --- diff --git a/lustre/scripts/lnet.in b/lustre/scripts/lnet.in index afd7519..fdb5508 100644 --- a/lustre/scripts/lnet.in +++ b/lustre/scripts/lnet.in @@ -1,5 +1,16 @@ #!/bin/bash # +# $Id: lnet.rc bogl Exp $ +# +### BEGIN INIT INFO +# Provides: lnet +# Required-Start: $network openibd +# Required-Stop: $network openibd +# Default-Start: 3 +# Default-Stop: 0 1 2 5 6 +# Description: Enable Lustre Networking +### END INIT INFO +# # lnet This shell script takes care of starting and stopping # the lnet (Lustre networking) services. #