diff options
author | jkh <jkh@FreeBSD.org> | 1999-01-30 22:15:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-01-30 22:15:36 +0000 |
commit | 0c1e072cd8deafca7c47a613a56be76f76d38109 (patch) | |
tree | 71d573447dc1ddd247ad47a53f95fcaa98fe8058 /usr.sbin | |
parent | 1637c076955b8a5740c6ced09c0453d599d73086 (diff) | |
download | FreeBSD-src-0c1e072cd8deafca7c47a613a56be76f76d38109.zip FreeBSD-src-0c1e072cd8deafca7c47a613a56be76f76d38109.tar.gz |
1. Install /boot/loader correctly on boot.flp
2. Back up old rc.conf.site if it exists.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/config.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index d83b31d..d661469 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.115 1998/11/15 09:06:19 jkh Exp $ + * $Id: config.c,v 1.116 1999/01/27 02:32:46 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -381,6 +381,8 @@ configRC_conf(char *config) Variable *v; int i, nlines, len; + if (file_readable("/etc/rc.conf.site")) + system("cp /etc/rc.conf.site /etc/rc.conf.site.previous"); rcSite = fopen("/etc/rc.conf.site", "w"); if (!rcSite) return; diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index d83b31d..d661469 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.115 1998/11/15 09:06:19 jkh Exp $ + * $Id: config.c,v 1.116 1999/01/27 02:32:46 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -381,6 +381,8 @@ configRC_conf(char *config) Variable *v; int i, nlines, len; + if (file_readable("/etc/rc.conf.site")) + system("cp /etc/rc.conf.site /etc/rc.conf.site.previous"); rcSite = fopen("/etc/rc.conf.site", "w"); if (!rcSite) return; |