plan9fox/rc/bin/hold

6 lines
91 B
Bash
Executable file

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