shithub: riscv

ref: 1d9d4ffef89e883949261ec9c56c57e0344726d7
dir: /rc/bin/hold/

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