summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2001-09-24 10:16:23 +0000
committermurray <murray@FreeBSD.org>2001-09-24 10:16:23 +0000
commit5db7811e708c1fdf315431ddd6deed09f2cc87b4 (patch)
tree93adea49800e8fdf86444bd44855929cfc0c2970 /usr.sbin/sysinstall/sysinstall.h
parente97a4764bb4efd497473925f8645c948290bd743 (diff)
downloadFreeBSD-src-5db7811e708c1fdf315431ddd6deed09f2cc87b4.zip
FreeBSD-src-5db7811e708c1fdf315431ddd6deed09f2cc87b4.tar.gz
Add a couple of functions to create persistent variables that will
survive a sysinstall Ctrl-C -> 'Restart'. This fixes another annoying bug where restarting sysinstall will try to reload kernel modules and do other external things that have already been done. For now, use these persistent variables to keep track of module, usbd, and pccardd initialization. Bug found by: rwatson MFC after: 1 week
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index c6e2b9b..fb764b8 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -772,6 +772,8 @@ extern char *variable_get_value(char *var, char *prompt, int dirty);
extern int variable_check(char *data);
extern int dump_variables(dialogMenuItem *self);
extern void free_variables(void);
+extern void pvariable_set(char *var);
+extern char *pvariable_get(char *var);
/* wizard.c */
extern void slice_wizard(Disk *d);
OpenPOWER on IntegriCloud