shithub: riscv

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

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