shithub: riscv

ref: 43a3a80be3cd9fe7e0f31efe5c24c3e321e07b08
dir: /rc/bin/hold/

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