Use run_prog_or_continue to write bootblocks. pmaxes upgrade/install
from diskimage or NFS, so It's not absolutely fatal for the bootblock update to fail.
This commit is contained in:
parent
a1d0279446
commit
cd7def2863
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.6 1997/11/02 02:21:04 jonathan Exp $ */
|
||||
/* $NetBSD: md.c,v 1.7 1997/11/02 08:16:39 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -112,7 +112,7 @@ void md_post_newfs (void)
|
|||
{
|
||||
/* XXX boot blocks ... */
|
||||
printf (msg_string(MSG_dobootblks), diskdev);
|
||||
run_prog_noerr ("/sbin/disklabel -B %s /dev/r%sc",
|
||||
run_prog_or_continue("/sbin/disklabel -B %s /dev/r%sc",
|
||||
"-b /usr/mdec/rzboot -s /usr/mdec/bootrz", diskdev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue