shithub: riscv

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

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