shithub: riscv

ref: 9f18b0f388a38a35ea8920fe3e98c7f8e3a41cf2
dir: /rc/bin/hold/

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