shithub: riscv

ref: 8a6a354e22521e7d2d14b8b4c2d1b7a65a0c8d5e
dir: /rc/bin/hold/

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