shithub: riscv

ref: c8c65f183d578690e0c14588f01f96115e2d5cdb
dir: /rc/bin/hold/

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