shithub: riscv

ref: e87bbc878ec35e0f26dd54e9dfcdf96fa1432323
dir: /rc/bin/hold/

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