scplugin.rc(3) Supportconfig Plugin Library Manual scplugin.rc(3)NAMEscplugin.rc - Supportconfig Plugin Resource File
SYNOPSIS
section_header <string>
pconf_files <list>
plog_files <int> <list>
plugin_message <string>
plugin_tag <label> <string>
plugin_command <command>
validate_rpm <rpm_name>
DESCRIPTION
Supportconfig plugin development library for bash script plugins.
section_header() - Prints a string with a Section identifier to help
organize plugin content.
pconf_files() - Gets the entire file for each configuration file in
<list>, but excludes comments and blank lines.
plog_files() - Gets the last <int> number of lines specified for each
log file in <list>.
plugin_message() - Displays the message string.
plugin_tag() - Displays the message string with the <label> inside the
section line and the <string> in the comment area.
plugin_command() - Runs the specified command. Command pipes are sup‐
ported. Returns the value of the command's exit code.
validate_rpm() - Runs an rpm -V on the specified RPM package. If no
exceptions are found, it's marked Passed, otherwise it's marked WARN‐
ING.
REPORTING BUGS
Please submit bug fixes or comments via: http://en.opensuse.org/Suppor‐
tutils#Reporting_Bugs
AUTHOR
Jason Record <jrecord@suse.com>
COPYRIGHT
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.
SEE ALSOsupportconfig(8)supportconfig.conf(5)section_header(3)pconf_files(3)plog_files(3)plugin_message(3)plugin_tag(3)plugin_command(3) vali‐
date_rpm(3)scplugin.rc 06 Oct 2010 scplugin.rc(3)