Пример #1
0
void cfg_cmd(struct shelldata *sd, const char *cmd)
{
	struct conn * conn;
	wtplist_lock();
	conn = find_ap(sd->prompt);
	if (conn==NULL){
		fprintf(sd->out,"WTP '%s' not found\n",sd->prompt);
	}
	else {
		show_cfg(sd->out,conn->remote_cfg);
	}
	wtplist_unlock();
}
Пример #2
0
void confirmacion(void)
{
	show_cfg();
	op_select();
	if (read == 'A')
	{
		verificacion();
		reset_flag();
		if(error)
		{
			writeLCD_menu(9);
			op_select();
			error = 0;
		}
	}
	reset_flag();
}
Пример #3
0
void ucfg_cmd(struct shelldata *sd, const char *cmd)
{
	struct conn * conn;
	show_cfg(sd->out,sd->update_cfg);

}