table of contents
| SCPLUGIN.RC(3) | Supportconfig Plugin Library Manual | SCPLUGIN.RC(3) |
NAME¶
scplugin.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 supported. 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 WARNING.
REPORTING BUGS¶
Please submit bug fixes or comments via: http://en.opensuse.org/Supportutils#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 MERCHANTABILITY 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, see <http://www.gnu.org/licenses/>.
SEE ALSO¶
supportconfig(8) supportconfig.conf(5) section_header(3) pconf_files(3) plog_files(3) plugin_message(3) plugin_tag(3) plugin_command(3) validate_rpm(3)
| 20 Mar 2014 | supportutils |