shithub: riscv

ref: 8f8c2d67796e8da8a3f8d3e86849b07182a96697
dir: /rc/bin/hold/

View raw version
#!/bin/rc
{
	echo holdon >[1=3]
	cat $1 > /dev/cons
	cat /dev/cons > $1
} >[3]/dev/consctl