#include <stdlib.h> #include <stdio.h> #include <string.h> char *cmd1[6] = {"reset", "reset", "board", "board", "reboot", "backplane"}; char *cmd2[6]= {"no use", "board", "add", "delete", "backplane", "abort"}; void cmd_out(int index) { switch(index) { case 0: ...