Exemple #1
0
Fichier : cli.c Projet : modul/iris
static void do_store()
{
	input_stop();
	conf_store();
	input_start();
	OK();
}
Exemple #2
0
int main(void)
{
    int ret;

    ret = conf_load();
    if (ret < 0) {
        printf("Warning: fail to initialize system configuration!\n"
               "Trying reset to default!\n");

        conf_reset();
    }

    system_init();

    conf_store();

#ifdef CONFIG_AUTO_BOOT
    auto_boot();
#endif

    shell();

    return -EINVAL;
}