rcpu: use $cpu environment variable for host when not specified
This commit is contained in:
parent
e9bf14eceb
commit
ca47fef006
2 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,7 @@ fn client {
|
||||||
|
|
||||||
cmd=()
|
cmd=()
|
||||||
host='$cpu'
|
host='$cpu'
|
||||||
|
if(~ $#cpu 1) host=$cpu
|
||||||
exportfs=/bin/exportfs
|
exportfs=/bin/exportfs
|
||||||
connect=/bin/rconnect
|
connect=/bin/rconnect
|
||||||
|
|
||||||
|
|
|
@ -105,6 +105,13 @@ set to
|
||||||
to allow further customization of the environment (see
|
to allow further customization of the environment (see
|
||||||
.IR rc (1)
|
.IR rc (1)
|
||||||
for more information).
|
for more information).
|
||||||
|
The cpu server can be specified with
|
||||||
|
.B -h
|
||||||
|
.IR host ,
|
||||||
|
otherwise it defaults to the environment variable
|
||||||
|
.B $cpu
|
||||||
|
or is looked up from
|
||||||
|
.IR ndb (6).
|
||||||
.PP
|
.PP
|
||||||
.I Rimport
|
.I Rimport
|
||||||
mounts a remote directory
|
mounts a remote directory
|
||||||
|
|
Loading…
Reference in a new issue