shithub: riscv

ref: 7f832df53d2a1d45fb7c7b2129e56b6b9e855682
dir: /rc/bin/hold/

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