shithub: riscv

ref: c14ea9fdd1521ff9322f9af71b801e016622c0cd
dir: /rc/bin/hold/

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