shithub: riscv

ref: 64df254ce8c19f328c944a3fbe7c307a04290a43
dir: /rc/bin/hold/

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