shithub: riscv

ref: 1290c534bef72b282b4c562b95a4b2be8237e3b0
dir: /rc/bin/hold/

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