shithub: riscv

ref: 5886b999d59e733ae46fa413a709d3bcd8c14278
dir: /rc/bin/hold/

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