shithub: riscv

ref: 4ab2d149d46c6762c9b8d9fd24d0bf92b10704f6
dir: /rc/bin/hold/

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