Example #1
0
File: md.c Project: ryo/netbsd-src
void
md_cleanup_install(void)
{
#ifndef DEBUG
	enable_rc_conf();
#endif
}
Example #2
0
void
md_cleanup_install(void)
{
#ifdef notyet			/* sed is too large for ramdisk */
	enable_rc_conf();
#endif
}
Example #3
0
void
md_cleanup_install(void)
{
#ifndef DEBUG
	int new_speed;

	enable_rc_conf();

	/*
	 * Set the console speed in /etc/ttys depending on the board.
	 * The default speed is 115200, which is patched when needed.
	 */
	if (strcmp(prodname, "kurobox") == 0)
		new_speed = 57600;			/* KuroBox */

	else if (strcmp(prodname, "dlink") == 0 ||	/* D-Link DSM-G600 */
	    strcmp(prodname, "nhnas") == 0)		/* NH23x, All6250 */
		new_speed = 9600;

	else
		new_speed = 0;

	if (new_speed != 0) {
		run_program(RUN_CHROOT, "sed -an -e 's/115200/%d/;H;$!d;g;w"
		    "/etc/ttys' /etc/ttys", new_speed);
	}
#endif
}
Example #4
0
File: md.c Project: ryo/netbsd-src
void
md_cleanup_install(void)
{
#ifndef DEBUG
	enable_rc_conf();
	add_rc_conf("sshd=YES\n");
	add_rc_conf("dhcpcd=YES\n");
#endif
}
Example #5
0
void
md_cleanup_install(void)
{
#ifndef DEBUG
    enable_rc_conf();
#endif
    msg_display(MSG_howtoboot);
    process_menu(MENU_ok, NULL);
}
Example #6
0
File: md.c Project: ryo/netbsd-src
void
md_cleanup_install(void)
{
#ifndef DEBUG
	enable_rc_conf();
	add_rc_conf("wscons=YES\n");

	/* Configure a single screen. */
	run_program(RUN_CHROOT,
		    "sed -an -e '/^screen/s/^/#/;/^mux/s/^/#/;"
		    "H;$!d;g;w /etc/wscons.conf' /etc/wscons.conf");

#endif
}