summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-11-07 15:45:59 +0000
committerjkh <jkh@FreeBSD.org>1996-11-07 15:45:59 +0000
commit5e17097f62094cfbb23105e16c49c5241d91a604 (patch)
tree797ad5b34b395ebd72e2828b93279e439942f2ab /release/sysinstall/install.c
parentcc068115261e88fa8248e43d4fc61c4b257e9c91 (diff)
downloadFreeBSD-src-5e17097f62094cfbb23105e16c49c5241d91a604.zip
FreeBSD-src-5e17097f62094cfbb23105e16c49c5241d91a604.tar.gz
Install an evil work-around for /etc/sendmail.cw
[same as from 2.2]
Diffstat (limited to 'release/sysinstall/install.c')
-rw-r--r--release/sysinstall/install.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index d7c51d3..6e82d70 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.134 1996/10/14 21:32:28 jkh Exp $
+ * $Id: install.c,v 1.135 1996/11/04 12:56:22 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -650,6 +650,10 @@ installFixup(dialogMenuItem *self)
Mkdir("/var/db");
creat("/var/db/mountdtab", 0644);
+ /* BOGON #4: We need a default /etc/sendmail.cw right now */
+ if (!file_readable("/etc/sendmail.cw"))
+ vsystem("touch /etc/sendmail.cw");
+
/* Now run all the mtree stuff to fix things up */
vsystem("mtree -deU -f /etc/mtree/BSD.root.dist -p /");
vsystem("mtree -deU -f /etc/mtree/BSD.var.dist -p /var");
OpenPOWER on IntegriCloud