shithub: riscv

ref: e4509d40cc9759baddf1c2571247b95d2f5b61a5
dir: /rc/bin/hold/

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