shithub: riscv

ref: bd63aeb60d1c38cd04e2f64c809685814c5607d7
dir: /rc/bin/hold/

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