shithub: riscv

ref: 232a064f3a9afcd9a5c1de45f1558e4522c511bd
dir: /rc/bin/hold/

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