shithub: riscv

ref: 0a7a71752573286fc1dc8057c285e87480a640cc
dir: /rc/bin/hold/

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