diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-05 09:48:03 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-05 09:48:03 +0000 |
commit | 9160ca00b5da185787c84ae5e1b1d848847dd262 (patch) | |
tree | 3707fb988b7a0ae5cc4e493af9c486da9892a1dd /usr.sbin/sade/main.c | |
parent | 4caf82f971a9e9d7368fa7667e4e43f98857e620 (diff) | |
download | FreeBSD-src-9160ca00b5da185787c84ae5e1b1d848847dd262.zip FreeBSD-src-9160ca00b5da185787c84ae5e1b1d848847dd262.tar.gz |
Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
Diffstat (limited to 'usr.sbin/sade/main.c')
-rw-r--r-- | usr.sbin/sade/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index c267838..e1672d0 100644 --- a/usr.sbin/sade/main.c +++ b/usr.sbin/sade/main.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: main.c,v 1.44 1997/03/19 10:09:17 jkh Exp $ + * $Id: main.c,v 1.45 1997/04/20 16:46:31 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -111,6 +111,7 @@ main(int argc, char **argv) fp = fopen("install.cfg", "r"); if (fp) { msgNotify("Loading pre-configuration file"); + variable_set2(VAR_NONINTERACTIVE, "YES"); while (fgets(buf, sizeof buf, fp)) { if (DITEM_STATUS(dispatchCommand(buf)) != DITEM_SUCCESS) { msgDebug("Command `%s' failed - rest of script aborted.\n", buf); @@ -118,6 +119,7 @@ main(int argc, char **argv) } } fclose(fp); + variable_unset(VAR_NONINTERACTIVE); } } |