shithub: riscv

ref: e7d670f1558576f5cfdb9f4b3f74bc4cda91e62c
dir: /rc/bin/hold/

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