summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-10-27 17:26:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-10-27 17:26:04 +0000
commit72c98d7491a3ceaf8fc8d6b18b3fa7c9664c0312 (patch)
tree73add67a4daa31751324fa49d55989d4400a670a /usr.sbin
parent94e4fe8e62e3d6b305dd13d41f9e92bbe6b78c7a (diff)
document @rcscript
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_create.120
1 files changed, 18 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1
index ce6c4101b72..efa58cf2b95 100644
--- a/usr.sbin/pkg_add/pkg_create.1
+++ b/usr.sbin/pkg_add/pkg_create.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_create.1,v 1.67 2010/10/22 15:59:50 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.68 2010/10/27 17:26:03 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -21,7 +21,7 @@
.\" [jkh] Took John's changes back and made some additional extensions for
.\" better integration with FreeBSD's new ports collection.
.\"
-.Dd $Mdocdate: October 22 2010 $
+.Dd $Mdocdate: October 27 2010 $
.Dt PKG_CREATE 1
.Os
.Sh NAME
@@ -683,6 +683,22 @@ annotations can help
.Nm pkg_add
get a sense of continuity.
.Pp
+.It Cm @rcscript Ar filename
+Script for the
+.Pa /etc/rc.d
+framework.
+Contrary to
+.Cm @file ,
+absolute paths are okay, e.g.,
+.Bd -literal -offset indent
+@rcscript ${RCDIR}/ballsd
+.Ed
+.Pp
+In this case, performs an implicit
+.Cm @cwd
+to
+.Pa ${RCDIR} .
+.Pp
.It Cm @sample Ar filename
Last preceding
.Cm @file