diff options
Diffstat (limited to 'usr.sbin/sade/main.c')
-rw-r--r-- | usr.sbin/sade/main.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index f956d13..deb8524 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.16 1996/04/07 03:52:31 jkh Exp $ + * $Id: main.c,v 1.17 1996/04/13 13:31:51 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -65,6 +65,15 @@ main(int argc, char **argv) /* Set up whatever things need setting up */ systemInitialize(argc, argv); + /* Set default flag and variable values */ + installVarDefaults(NULL); + + if (argc > 1 && !strcmp(argv[1], "-fake")) { + variable_set2(VAR_DEBUG, "YES"); + Fake = TRUE; + msgConfirm("I'll be just faking it from here on out, OK?"); + } + /* Try to preserve our scroll-back buffer */ if (OnVTY) for (curr = 0; curr < 25; curr++) @@ -73,9 +82,6 @@ main(int argc, char **argv) /* Probe for all relevant devices on the system */ deviceGetAll(); - /* Set default flag and variable values */ - installVarDefaults(NULL); - /* Begin user dialog at outer menu */ while (1) { choice = scroll = curr = max = 0; |