shithub: riscv

ref: 7f4b037b0b21df9d96d9b3f53a9779590d5c600b
dir: /rc/bin/hold/

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