shithub: riscv

ref: 4dfcb4791be0f4e4f9ab24b654af1f8bfb9b3758
dir: /rc/bin/hold/

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