shithub: riscv

ref: 1055b951f37e4424f8c759f8cca4677e4fd8f02f
dir: /rc/bin/hold/

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