shithub: riscv

ref: c86b5ddaa6fbc32de8ec75a8edc5ba375e28076b
dir: /rc/bin/hold/

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