shithub: riscv

ref: 49e991eaed54c50cc65a0f9895ff69a6aa1517ab
dir: /rc/bin/hold/

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