shithub: riscv

ref: 5a934b56f59f2cc0c7a700618a3f8211541c1bcd
dir: /rc/bin/hold/

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