shithub: riscv

ref: 0b33b3b8adf95bcf6cf0764fe425169ee0b8be0e
dir: /rc/bin/hold/

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