Beispiel #1
0
void
command_boot(char *arg)
{
	char *filename;
	int howto;

	if (parseboot(arg, &filename, &howto))
		bootit(filename, howto);
}
Beispiel #2
0
void
command_boot(char *arg)
{
	char *filename;
	int howto;

	if (parseboot(arg, &filename, &howto))
		bootit(filename, howto, (howto & AB_VERBOSE) != 0);
}
Beispiel #3
0
static void
bootcmd_boot(char *arg)
{
	char *filename;
	int howto;

	if (parseboot(arg, &filename, &howto)) {
		bootit(filename, howto, 1);
	}
}
Beispiel #4
0
void
command_boot(char *arg)
{
	char *filename;
	int howto, tell;

	if (!parseboot(arg, &filename, &howto))
		return;

	tell = ((howto & AB_VERBOSE) != 0);
	if (filename != NULL) {
		bootit(filename, howto, tell);
	} else {
		int i;

#ifndef SMALL
		bootdefault();
#endif
		for (i = 0; i < NUMNAMES; i++) {
			bootit(names[i][0], howto, tell);
			bootit(names[i][1], howto, tell);
		}
	}
}
Beispiel #5
0
void
command_boot(char *arg)
{
    char *filename;
    int howto;

    if (!parseboot(arg, &filename, &howto))
        return;

    if (filename != NULL) {
        bootit(filename, howto);
    } else {
        int i;

#ifndef SMALL
        if (howto == 0)
            bootdefault();
#endif
        for (i = 0; i < NUMNAMES; i++) {
            bootit(names[i][0], howto);
            bootit(names[i][1], howto);
        }
    }
}