shithub: riscv

ref: 9f54c2831717bc656df6e5a2fde2bf7be8e29fef
dir: /rc/bin/hold/

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