shithub: riscv

ref: 4d3367d11f03639da12829df103c4b6c5ecc78ac
dir: /rc/bin/hold/

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