README revision 7c478bd95313f5f23a4c958a745db2134aa03244
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# CDDL HEADER START
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# The contents of this file are subject to the terms of the
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Common Development and Distribution License, Version 1.0 only
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# (the "License"). You may not use this file except in compliance
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d23ecf32e56cce69bc42eb5c96dddf7909c623abjelmd# See the License for the specific language governing permissions
d23ecf32e56cce69bc42eb5c96dddf7909c623abjelmd# and limitations under the License.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# If applicable, add the following below this CDDL HEADER, with the
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# fields enclosed by brackets "[]" replaced with your own identifying
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# information: Portions Copyright [yyyy] [name of copyright owner]
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# CDDL HEADER END
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# ident "%Z%%M% %I% %E% SMI"
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Copyright (c) 2001 by Sun Microsystems, Inc.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# All rights reserved.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerConfiguration files for syseventd(1M).
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerThese files are not intended to be edited and any changes made
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerwill not be preserved across upgrades.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerThe format for file names in this directory is:
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner <vendor>,[<publisher>,][<class>,[<subclass>,]]sysevent.conf
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen KuksaFiles with a suffix other than ',sysevent.conf' are ignored.
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen KuksaAfter making a change to a file in this directory, restart the
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksasyseventd daemon by issuing:
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksa pkill -HUP syseventd
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen KuksaThe format for each line in a sysevent.conf file is:
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen Kuksa <class> <subclass> <vendor> <publisher> <user> <reserved1>
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen Kuksa <reserved2> <path> <arguments>
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner<class>, <subclass>, <vendor> or <publisher> may be "-" to
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknermatch any class, subclass, vendor or publisher, respectively.
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksa<user> may be "-" for commands to be invoked as root, or a
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksavalid user name.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner<reserved1> and <reserved2> must be "-".
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner<path> must be the path of the command to be invoked in response
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerto the event, and must be executable by <user>.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner<arguments> are optional, and may be any arbitrary arguments
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerfor the command to be invoked. Macros may be used to substitute
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksaactual parameters from the matching event on the command line.