shithub: riscv

ref: 4e8494aad79a124f2b15ede9e7873fed46e1bb0a
dir: /rc/bin/hold/

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