diff options
author | Michal Nowak <mnowak@startmail.com> | 2019-06-04 12:07:22 +0200 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2019-06-13 15:08:35 -0400 |
commit | 0ae8c37dc7709962a2fc99f02369b11707cccba0 (patch) | |
tree | 583f1602b355d32280b468852b2468c2589f2e4c | |
parent | 1f2dca3250468910bc4ef4471eb91650e6a39379 (diff) | |
download | illumos-joyent-0ae8c37dc7709962a2fc99f02369b11707cccba0.tar.gz |
11194 syseventadm.1m: ERROR: using macro argument outside macro
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/man/man1m/syseventadm.1m | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/src/man/man1m/syseventadm.1m b/usr/src/man/man1m/syseventadm.1m index 8bd8d5786c..7cc654f64d 100644 --- a/usr/src/man/man1m/syseventadm.1m +++ b/usr/src/man/man1m/syseventadm.1m @@ -31,7 +31,7 @@ syseventadm \- sysevent event specification administration .fi .SH DESCRIPTION -.sp + .LP The \fBsyseventadm\fR command is an administrative front-end to add, remove and list \fBsysevent\fR event handlers. You can also restart the sysevent daemon by @@ -75,7 +75,7 @@ The \fBsyseventadm\fR \fBrestart\fR command informs the \fBsyseventd\fR daemon to reread the \fBsysevent\fR registry after a change has been made by adding or removing one or more \fBsysevent\fR handler specifications. .SS "Argument Macro Substitution" -.sp + .LP The \fBsysevent\fR handling facility provides extensive macro capability for constructing the command line arguments to be executed in response to an event. @@ -178,7 +178,7 @@ arguments. Array types are expanded with each element expanded as defined for that scalar type, with a space separating each element substitution. .SH OPTIONS -.sp + .LP The \fBadd\fR, \fBlist\fR and \fBremove\fR subcommands support the following options: @@ -248,7 +248,7 @@ Sun-defined events use \fBSUNW\fR. .RE .SH OPERANDS -.sp + .LP The \fBadd\fR, \fBlist\fR and \fBremove\fR subcommands support the following options: @@ -286,8 +286,8 @@ since the registry is maintained on \fB$ALTROOT\fR. .sp .in +2 .nf -# syseventadm add -R \$ALTROOT -v MYCO -c EC_ENV -s ESC_ENV_TEMP \e - /opt/MYCOenv/bin/ec_env_temp \e$class \e$subclass \e$pathname +# syseventadm add -R $ALTROOT -v MYCO -c EC_ENV -s ESC_ENV_TEMP \e + /opt/MYCOenv/bin/ec_env_temp ${class} ${subclass} ${pathname} .fi .in -2 .sp @@ -306,8 +306,8 @@ The following example removes the event handler added in Example 1. .sp .in +2 .nf -# syseventadm remove -R \$ALTROOT -v MYCO -c EC_ENV -s ESC_ENV_TEMP \e - /opt/MYCOenv/bin/ec_env_temp \${class} \${subclass} \${pathname} +# syseventadm remove -R $ALTROOT -v MYCO -c EC_ENV -s ESC_ENV_TEMP \e + /opt/MYCOenv/bin/ec_env_temp ${class} ${subclass} ${pathname} .fi .in -2 .sp @@ -329,7 +329,7 @@ The following example lists all event handlers for events of class .nf # syseventadm list -v MYCO -c EC_ENV -s ESC_ENV_TEMP \e vendor=MYCO class=EC_ENV subclass=ESC_ENV_TEMP \e - /opt/MYCOenv/bin/ec_env_temp \e${class} \e${subclass} \e${pathname} + /opt/MYCOenv/bin/ec_env_temp ${class} ${subclass} ${pathname} .fi .in -2 .sp @@ -396,7 +396,7 @@ The following example removes all event handlers specified to run the command .sp .SH EXIT STATUS -.sp + .LP The following exit values are returned: .sp @@ -454,12 +454,12 @@ Out of memory. .RE .SH SEE ALSO -.sp + .LP \fBsyseventd\fR(1M), \fBsysevent_post_event\fR(3SYSEVENT), \fBattributes\fR(5), \fBddi_log_sysevent\fR(9F) .SH NOTES -.sp + .LP To avoid upgrade problems, packages delivering a sysevent event handler should install the event handler by running \fBsyseventadm\fR from the package's |