| Summary: | /sbin/nextboot shouldn't be required (for custom builds) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Mats Palmgren <mats.palmgren> |
| Component: | misc | Assignee: | ru <ru> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 1.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Committed, thanks! Responsible Changed From-To: freebsd-bugs->ru mtm 2007-10-25 18:02:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
etc/rc.d root
Log:
MFC: rev. 1.14
Check if /sbin/nextboot exists before running it.
PR: 93466
Submitted by: Mats Palmgren
Revision Changes Path
1.10.2.4 +3 -1 src/etc/rc.d/root
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|
Fix: --- etc/rc.d/root 11 Feb 2006 03:56:12 -0000 1.7 +++ etc/rc.d/root 12 Feb 2006 09:47:34 -0000 @@ -33,7 +33,9 @@ # If we booted a special kernel remove the record # so we will boot the default kernel next time. - /sbin/nextboot -D + if [ -x /sbin/nextboot ]; then + /sbin/nextboot -D + fi } load_rc_config $name