OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 

From: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Sat Mar 01 2003 - 18:17:21 CST


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.org 2003/03/01 17:17:20

Modified files:
        distrib/miniroot: install.sub

Log message:
Fix default route handling during installation to preserve active
default route even if 'none' or 'dhcp' is selected as the default
route for the installed system. Previously, specifying 'none' or
'dhcp' would delete the existing default route, making ftp installs
from non-local servers impossible.

This is done by only deleting the existing default route when a change
is attempted, and putting back the previous default route if the
change fails.

Problem noticed by drahn.