shithub: riscv

ref: 70f700699ac06fb33267395c60f62b4fae3f4f15
dir: /rc/bin/hold/

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