aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-11-19 21:51:22 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-11-19 21:51:22 +0000
commitf98b32d974950d73439d94c4172523a50915135d (patch)
treebfdc669e828b06ee55388ea464d9be283f724ce5
parent24957b1ce02579799b0cba3054be53b61cd8fb87 (diff)
downloadinitscripts-f98b32d974950d73439d94c4172523a50915135d.tar
initscripts-f98b32d974950d73439d94c4172523a50915135d.tar.gz
initscripts-f98b32d974950d73439d94c4172523a50915135d.tar.bz2
initscripts-f98b32d974950d73439d94c4172523a50915135d.tar.xz
initscripts-f98b32d974950d73439d94c4172523a50915135d.zip
usernetctl is an internal wrapper program
-rw-r--r--src/usernetctl.111
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usernetctl.1 b/src/usernetctl.1
index ff3ca593..e930f7e5 100644
--- a/src/usernetctl.1
+++ b/src/usernetctl.1
@@ -11,6 +11,17 @@ specified by \fIinterface-name\fP, and then tries to bring the network
interface up or down, if up or down was specified on the command line,
or returns true or false status (respectively) if the report option was
specified.
+
+.B usernetctl
+is not really meant to be called directly by users, though it currently
+works fine that way. It is used as a wrapper by the ifup and ifdown
+scripts, so that users can do exactly the same thing as root:
+.nf
+ifup \fIinterface-name\fP
+ifdown \fIinterface-name\fP
+.fi
+and \fBifup\fP and \fBifdown\fP will call usernetctl automatically to
+allow the interface status change.
.SH OPTIONS
.TP
.I "\fIinterface-name"