consolefs(4): import -> rimport
This commit is contained in:
parent
aa781bfda2
commit
917f57b6c3
2 changed files with 2 additions and 6 deletions
6
rc/bin/C
6
rc/bin/C
|
@ -1,16 +1,12 @@
|
|||
#!/bin/rc
|
||||
# C system - connect to system's console
|
||||
rfork en
|
||||
oflag=()
|
||||
opt=-r
|
||||
while(~ $1 -*)
|
||||
switch($1){
|
||||
case -r
|
||||
shift
|
||||
opt=''
|
||||
case -O -o
|
||||
oflag=-O
|
||||
shift
|
||||
case *
|
||||
opt=-r
|
||||
shift
|
||||
|
@ -45,7 +41,7 @@ if(! test -e /mnt/consoles/$1){
|
|||
case $server
|
||||
mount /srv/consoles /mnt/consoles
|
||||
case *
|
||||
import $oflag $server /mnt/consoles
|
||||
rimport $server /mnt/consoles
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ script
|
|||
.B C
|
||||
automates this procedure.
|
||||
It uses
|
||||
.IR import (4)
|
||||
.IR rimport (1)
|
||||
to connect to
|
||||
.B /mnt/consoles
|
||||
on the machine connected to all the consoles, then uses
|
||||
|
|
Loading…
Reference in a new issue