shithub: riscv

ref: 5e59c57bb110403f83a41ad88415e108c6cb1f6a
dir: /rc/bin/hold/

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