From 6dc7129a11745df752f2a85bc59acaacdc0ade6c Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 19 Jun 2019 12:33:31 -0700 Subject: [PATCH] cgcs-patch: Add LSB headers to initscripts These LSB headers are non-functional but still required by OBS and rpmlint. These sysvinit scripts are actually executed and controled via the systemd unit files. Change-Id: I0a6303cdf46120cbdeee65e2c3e556cd458146e0 Signed-off-by: Saul Wold --- cgcs-patch/bin/sw-patch-controller-init.sh | 12 +++++++++++- cgcs-patch/bin/sw-patch-init.sh | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/cgcs-patch/bin/sw-patch-controller-init.sh b/cgcs-patch/bin/sw-patch-controller-init.sh index 94447668..144683a0 100644 --- a/cgcs-patch/bin/sw-patch-controller-init.sh +++ b/cgcs-patch/bin/sw-patch-controller-init.sh @@ -4,10 +4,20 @@ # # SPDX-License-Identifier: Apache-2.0 # -# CGCS Patching Controller setup +# StarlingX Patching Controller setup # chkconfig: 345 20 24 # description: CGCS Patching Controller init script +### BEGIN INIT INFO +# Provides: sw-patch-controller +# Required-Start: $syslog +# Required-Stop: $syslog +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Short-Description: sw-patch-controller +# Description: Provides the StarlingX Patch Controller Daemon +### END INIT INFO + . /usr/bin/tsconfig NAME=$(basename $0) diff --git a/cgcs-patch/bin/sw-patch-init.sh b/cgcs-patch/bin/sw-patch-init.sh index f46cd4ed..2428edb2 100644 --- a/cgcs-patch/bin/sw-patch-init.sh +++ b/cgcs-patch/bin/sw-patch-init.sh @@ -4,10 +4,20 @@ # # SPDX-License-Identifier: Apache-2.0 # -# CGCS Patching +# StarlingX Patching # chkconfig: 345 20 23 # description: CGCS Patching init script +### BEGIN INIT INFO +# Provides: sw-patch +# Required-Start: $syslog +# Required-Stop: $syslog +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Short-Description: sw-patch +# Description: Provides the StarlingX Patching +### END INIT INFO + NAME=$(basename $0) . /usr/bin/tsconfig