shithub: riscv

ref: 5b5eb3b4b4a7e10e16dcbe7f287771c7e6e85aa8
dir: /rc/bin/hold/

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