shithub: riscv

ref: d6a91e0ae47b4e1df9a9783c49666e2a7357e277
dir: /rc/bin/hold/

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