]> git.saurik.com Git - apple/network_cmds.git/blob - bootparams/bpwhoami.tproj/bpwhoami.1
network_cmds-115.tar.gz
[apple/network_cmds.git] / bootparams / bpwhoami.tproj / bpwhoami.1
1 .\" Copyright (c) 1997, Apple Computer, Inc. All rights reserved.
2 .\"
3 .Dd August 7, 1997
4 .Dt BPWHOAMI 1
5 .Os Mac OS X
6 .Sh NAME
7 .Nm bpwhoami
8 .Nd print the output of a bootparams whoami call
9 .Sh SYNOPSIS
10 .Nm bpwhoami
11 .Sh DESCRIPTION
12 This command makes a bootparams whoami call and echos the results to
13 stdout. The output is of the form:
14 .Pp
15 HOSTNAME=<hostname>
16 DOMAIN=<nis domain name>
17 ROUTER=<router ip address>
18 SERVER=<server ip address>
19 .Sh SEE ALSO
20 .Xr bootparams 5
21 .Xr bootparamd 8
22 .Sh DIAGNOSTICS
23 .Nm bpwhoami
24 exits with one of the following values:
25 .Bl -tag -width Ds -compact
26 .It 0
27 Successfully retrieved information.
28 .It 1
29 RPC timed out while attempting to retrieve information.
30 .It 2
31 Unrecoverable error.