shithub: riscv

ref: caddc9a6ea0c8aeb2510ec9eda67eb4f2e82a00c
dir: /rc/bin/hold/

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