shithub: riscv

ref: 3d1908d762c6e91e0b6fe2e235e85bdf397d092d
dir: /rc/bin/hold/

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