consolefs(4): import -> rimport

This commit is contained in:
cinap_lenrek 2021-12-31 15:50:22 +00:00
parent aa781bfda2
commit 917f57b6c3
2 changed files with 2 additions and 6 deletions

View file

@ -1,16 +1,12 @@
#!/bin/rc #!/bin/rc
# C system - connect to system's console # C system - connect to system's console
rfork en rfork en
oflag=()
opt=-r opt=-r
while(~ $1 -*) while(~ $1 -*)
switch($1){ switch($1){
case -r case -r
shift shift
opt='' opt=''
case -O -o
oflag=-O
shift
case * case *
opt=-r opt=-r
shift shift
@ -45,7 +41,7 @@ if(! test -e /mnt/consoles/$1){
case $server case $server
mount /srv/consoles /mnt/consoles mount /srv/consoles /mnt/consoles
case * case *
import $oflag $server /mnt/consoles rimport $server /mnt/consoles
} }
} }

View file

@ -175,7 +175,7 @@ script
.B C .B C
automates this procedure. automates this procedure.
It uses It uses
.IR import (4) .IR rimport (1)
to connect to to connect to
.B /mnt/consoles .B /mnt/consoles
on the machine connected to all the consoles, then uses on the machine connected to all the consoles, then uses