shithub: riscv

ref: c5393d612fd2a0e4ff3f9557dcb6adb2ad27391f
dir: /rc/bin/hold/

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