shithub: riscv

ref: 6d3a2e6531bf784d433a39ac93b96beb0a0c8025
dir: /rc/bin/hold/

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