shithub: riscv

ref: 37e65b331bdf98f409be1bd2fbb55aec158c7877
dir: /rc/bin/hold/

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