shithub: riscv

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

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