shithub: riscv

ref: 390c71f0c79b2b8b94997cd9ae03037272075f8b
dir: /rc/bin/hold/

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