shithub: riscv

ref: a5282f9eab1b78bd65e5144c81bf0f19b3f9efaf
dir: /rc/bin/hold/

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