shithub: riscv

ref: 5cd7f7b0ec0df483bb5fd768ed59829e44849ed3
dir: /rc/bin/hold/

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