shithub: riscv

ref: 6184a4ef2eba1d49f0386e9ce94f4877d3d9edb2
dir: /rc/bin/hold/

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