shithub: riscv

ref: d00b2c84666cda27e676c9c2043815f3f01fb2cc
dir: /rc/bin/hold/

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