shithub: riscv

ref: ccfb6f412643128d5a537df73805c8478f0a24ae
dir: /rc/bin/hold/

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