shithub: riscv

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

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