shithub: riscv

ref: 5c87dfb9d5db3b6c93c30910f72d00bb1e5e326e
dir: /rc/bin/hold/

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