shithub: riscv

Download patch

ref: 917f57b6c38826476172aa4ec6cfa3075465a824
parent: aa781bfda2b08e516cfaaee38543bf8ebc8808c0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Dec 31 10:50:22 EST 2021

consolefs(4): import -> rimport

--- a/rc/bin/C
+++ b/rc/bin/C
@@ -1,7 +1,6 @@
 #!/bin/rc
 # C system - connect to system's console
 rfork en
-oflag=()
 opt=-r
 while(~ $1 -*)
 	switch($1){
@@ -8,9 +7,6 @@
 	case -r
 		shift
 		opt=''
-	case -O -o
-		oflag=-O
-		shift
 	case *
 		opt=-r
 		shift
@@ -45,7 +41,7 @@
 	case $server
 		mount /srv/consoles /mnt/consoles
 	case *
-		import $oflag $server /mnt/consoles
+		rimport $server /mnt/consoles
 	}
 }
 
--- a/sys/man/4/consolefs
+++ b/sys/man/4/consolefs
@@ -175,7 +175,7 @@
 .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