shithub: riscv

ref: 1645f3314c751e985de4c56b4e86a14197c0ed2e
dir: /rc/bin/hold/

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