shithub: riscv

ref: 3bf49f18142a5d37bd5507d7491ba4eb223eb3b1
dir: /rc/bin/hold/

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