shithub: riscv

ref: 6ecb921719c6cb64711de9a3f4c1e2334fd352b8
dir: /rc/bin/hold/

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