shithub: riscv

ref: 74b37c286f84e36ad7f6e8e482fb2a2203b7f0ed
dir: /rc/bin/hold/

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