diff options
author | obrien <obrien@FreeBSD.org> | 2000-07-18 09:14:06 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-07-18 09:14:06 +0000 |
commit | 1edbe25abe98370f9a5ed50bc0727205228878bf (patch) | |
tree | be84b7c280952ca644ac2b3fc65f818bbcf754cf /usr.sbin/sysinstall/sysinstall.h | |
parent | 5aef58d7b9d8523da7d5c51472067b91b09bd239 (diff) | |
download | FreeBSD-src-1edbe25abe98370f9a5ed50bc0727205228878bf.zip FreeBSD-src-1edbe25abe98370f9a5ed50bc0727205228878bf.tar.gz |
Allow the Fix-it functionality to detect that we are on a serial console,
and DTRT rather than start the fixit shell on a non-existant vty.
PR: 19837
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
Approved by: JKH
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r-- | usr.sbin/sysinstall/sysinstall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h index e34735a..abb2b8e 100644 --- a/usr.sbin/sysinstall/sysinstall.h +++ b/usr.sbin/sysinstall/sysinstall.h @@ -402,6 +402,7 @@ extern DMenu MenuHTMLDoc; /* HTML Documentation menu */ extern DMenu MenuUsermgmt; /* User management menu */ extern DMenu MenuFixit; /* Fixit floppy/CDROM/shell menu */ extern DMenu MenuXF86Config; /* Select XFree86 configuration type */ +extern int FixItMode; /* FixItMode starts shell onc urrent device (ie Serial port) */ /* Stuff from libdialog which isn't properly declared outside */ extern void display_helpfile(void); @@ -711,6 +712,8 @@ extern void systemInitialize(int argc, char **argv); extern void systemShutdown(int status); extern int execExecute(char *cmd, char *name); extern int systemExecute(char *cmd); +extern void systemSuspendDialog(void); +extern void systemResumeDialog(void); extern int systemDisplayHelp(char *file); extern char *systemHelpFile(char *file, char *buf); extern void systemChangeFont(const u_char font[]); |