shithub: riscv

ref: 1a4e03cf93872eb78f498af8afd5d8c7d6143178
dir: /rc/bin/hold/

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