shithub: riscv

ref: c539d64d22a0fdef1bd044a6e28e02a6bcfd0adf
dir: /rc/bin/hold/

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