shithub: riscv

ref: 2e2ae33a47951ec99ddefd61b8f16ffb47a88fed
dir: /rc/bin/hold/

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