diff options
author | jkh <jkh@FreeBSD.org> | 1999-02-05 22:15:52 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-02-05 22:15:52 +0000 |
commit | 75fb26219bd4805540359fb346c1c92a31926b61 (patch) | |
tree | 8b4fe6025e7aa70a6be932e3c42fb3d989e4533e /usr.sbin/sysinstall/options.c | |
parent | 8bd29729fb349a7454431e101ad436a191653e5e (diff) | |
download | FreeBSD-src-75fb26219bd4805540359fb346c1c92a31926b61.zip FreeBSD-src-75fb26219bd4805540359fb346c1c92a31926b61.tar.gz |
Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site. rc.conf is not touched now.
Also kget kernel change information back properly and set up a loader.rc
file to use it.
Diffstat (limited to 'usr.sbin/sysinstall/options.c')
-rw-r--r-- | usr.sbin/sysinstall/options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c index b4b724d..6d5fb3c 100644 --- a/usr.sbin/sysinstall/options.c +++ b/usr.sbin/sysinstall/options.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: options.c,v 1.55 1997/06/18 05:11:37 jkh Exp $ + * $Id: options.c,v 1.56 1997/07/16 05:22:42 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -189,13 +189,13 @@ fire(Option opt) } else if (opt.type == OPT_IS_VAR) { if (opt.data) { - (void)variable_get_value(opt.aux, opt.data); + (void)variable_get_value(opt.aux, opt.data, 1); status = 1; } else if (variable_get(opt.aux)) variable_unset(opt.aux); else - variable_set2(opt.aux, "YES"); + variable_set2(opt.aux, "YES", 1); } if (opt.check) opt.check(opt); |