shithub: riscv

ref: 157d7ebdbd7479b271e7b1df744b2dfc6b5816e9
dir: /rc/bin/hold/

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