shithub: riscv

ref: acf6c4a6a4ea6d3b66306bd0d2e9b8af1a92d4a2
dir: /rc/bin/hold/

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