shithub: riscv

ref: 6aa7ebcf495bff8f6a4c7ebcac28058bd0b06aae
dir: /rc/bin/hold/

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