shithub: riscv

ref: 97c6a1dd521c893de2c26b8876cdda283fdd7dc8
dir: /rc/bin/hold/

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