integ/tools/collector/scripts/collect_parms
Scott Little c8d4b55130 Relocate collector to stx-integ/tools/collector
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>
2018-08-01 12:24:00 -04:00

30 lines
378 B
Bash

#! /bin/bash
#
# Copyright (c) 2013-2014 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
#echo "defaults: $1-$2-$3-$4"
if [ -z ${1} ] ; then
basedir=/scratch
else
basedir=$1
fi
if [ -z ${2} ] ; then
extradir=$basedir/var/extra
else
extradir=$2
fi
if [ -z ${3} ] ; then
hostname=$HOSTNAME
else
hostname=$3
fi
mkdir -p ${extradir}