Move content from stx-utils into stx-integ or stx-update
Packages will be relocated to
stx-update:
enable-dev-patch
extras
stx-integ:
config-files/
io-scheduler
filesystem/
filesystem-scripts
grub/
grubby
logging/
logmgmt
tools/
collector
monitor-tools
tools/engtools/
hostdata-collectors
parsers
utilities/
build-info
branding (formerly wrs-branding)
platform-util
Change-Id: Iefa35db5a644b8ca0f1962e6c4cbbc97213b69e9
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
27 lines
655 B
Bash
27 lines
655 B
Bash
#! /bin/bash
|
|
#
|
|
# Copyright (c) 2013-2014 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
|
|
# Loads Up Utilities and Commands Variables
|
|
source /usr/local/sbin/collect_parms
|
|
source /usr/local/sbin/collect_utils
|
|
|
|
SERVICE="sm"
|
|
LOGFILE="${extradir}/sm.info"
|
|
echo "${hostname}: Service Management : ${LOGFILE}"
|
|
|
|
###############################################################################
|
|
# Only Controller
|
|
###############################################################################
|
|
|
|
if [ "$nodetype" = "controller" ] ; then
|
|
kill -SIGUSR1 $(</var/run/sm.pid)
|
|
sm-troubleshoot 2>>${COLLECT_ERROR_LOG} >> ${LOGFILE}
|
|
fi
|
|
|
|
exit 0
|