shithub: riscv

ref: c8c97919b2b89a8eb5a7d52b03bfb8a634098faf
dir: /rc/bin/hold/

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