summaryrefslogtreecommitdiff
path: root/sbin/modunload/modunload.8
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-09 22:22:57 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-09 22:22:57 +0000
commitaa6e74cc9daeb40b2324a5fb491fd524eefa9318 (patch)
treef000b302dd02cf93b82f65c58ddc3f5ffc3def01 /sbin/modunload/modunload.8
parentaadd4e09390bf75642aa8b4620b3370753a14d31 (diff)
add ability to execute script or program after a module is
unloaded.. similar to modload. millert@ ok
Diffstat (limited to 'sbin/modunload/modunload.8')
-rw-r--r--sbin/modunload/modunload.85
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/modunload/modunload.8 b/sbin/modunload/modunload.8
index 600fe1e2935..5f147c9ed61 100644
--- a/sbin/modunload/modunload.8
+++ b/sbin/modunload/modunload.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: modunload.8,v 1.9 2001/08/02 18:37:34 mpech Exp $
+.\" $OpenBSD: modunload.8,v 1.10 2002/01/09 22:22:56 ericj Exp $
.\" $NetBSD: modunload.8,v 1.3 1995/03/18 14:56:49 cgd Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
@@ -55,6 +55,9 @@ Unload the module with the ID
.It Fl n Ar name
Unload the module with the name
.Ar name .
+.It Fl p Ar postunload
+Specify the name of a shell script or program that will be executed if the
+module is successfully unloaded. This program is passed no arguments.
.El
.Sh DIAGNOSTICS
The