be consistent in md_cleanup_install():
use the sed(1) from the newly installed system here too (is getting rid of sed from the install ramdisk/... worthwhile?)
This commit is contained in:
parent
8346ac144d
commit
c66460047c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.111 2006/04/05 16:55:05 garbled Exp $ */
|
||||
/* $NetBSD: md.c,v 1.112 2006/09/04 00:07:27 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -472,12 +472,14 @@ md_cleanup_install(void)
|
|||
* Otherwise, run getty on 4 VTs.
|
||||
*/
|
||||
if (get_kernel_set() == SET_KERNEL_TINY)
|
||||
run_program(0, "sed -an -e '/^screen/s/^/#/;/^mux/s/^/#/;"
|
||||
run_program(RUN_CHROOT,
|
||||
"sed -an -e '/^screen/s/^/#/;/^mux/s/^/#/;"
|
||||
"H;$!d;g;w %s/etc/wscons.conf' %s/etc/wscons.conf",
|
||||
tp, tp);
|
||||
else
|
||||
#endif
|
||||
run_program(0, "sed -an -e '/^ttyE[1-9]/s/off/on/;"
|
||||
run_program(RUN_CHROOT,
|
||||
"sed -an -e '/^ttyE[1-9]/s/off/on/;"
|
||||
"H;$!d;g;w %s/etc/ttys' %s/etc/ttys",
|
||||
tp, tp);
|
||||
|
||||
|
|
Loading…
Reference in New Issue