diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-16 11:47:46 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-16 11:47:46 +0000 |
commit | 16185b823ace0574c13c214d2dbf3b2870d2c443 (patch) | |
tree | ad4bc78c2672e660c67bf48d392df7569092418a /usr.sbin/sade/sade.h | |
parent | fe85fe95dbeadb34358976e6b9d35c6cbca2541b (diff) | |
download | src-16185b823ace0574c13c214d2dbf3b2870d2c443.tar.gz src-16185b823ace0574c13c214d2dbf3b2870d2c443.zip |
Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).
Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install. A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'
Fix bogon where upgrade shell was entered with tty modes spammed.
Fix bug with release name checking in ftp_strat. Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
Notes
Notes:
svn path=/head/; revision=15788
Diffstat (limited to 'usr.sbin/sade/sade.h')
-rw-r--r-- | usr.sbin/sade/sade.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 0ae55445e64b..80344931737b 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: sysinstall.h,v 1.54 1996/04/28 01:07:26 jkh Exp $ + * $Id: sysinstall.h,v 1.55 1996/04/28 20:54:07 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -71,12 +71,12 @@ #define MAX_CHUNKS 40 /* Internal environment variable names */ -#define DISK_PARTITIONED "_diskPartitioned" -#define DISK_LABELLED "_diskLabelled" -#define DISK_SELECTED "_diskSelected" -#define SYSTEM_STATE "_systemState" -#define RUNNING_ON_ROOT "_runningOnRoot" -#define TCP_CONFIGURED "_tcpConfigured" +#define DISK_PARTITIONED "_diskPartitioned" +#define DISK_LABELLED "_diskLabelled" +#define DISK_SELECTED "_diskSelected" +#define SYSTEM_STATE "_systemState" +#define RUNNING_ON_ROOT "_runningOnRoot" +#define TCP_CONFIGURED "_tcpConfigured" /* Ones that can be tweaked from config files */ #define VAR_BLANKTIME "blanktime" @@ -377,6 +377,9 @@ extern int diskPartitionEditor(dialogMenuItem *self); extern int diskPartitionWrite(dialogMenuItem *self); extern void diskPartition(Device *dev, Disk *d); +/* dispatch.c */ +extern int dispatchCommand(char *command); + /* dist.c */ extern int distReset(dialogMenuItem *self); extern int distSetCustom(char *str); @@ -443,6 +446,7 @@ int index_extract(Device *dev, PkgNodePtr top, PkgNodePtr plist); /* install.c */ extern int installCommit(dialogMenuItem *self); +extern int installCustomCommit(dialogMenuItem *self); extern int installExpress(dialogMenuItem *self); extern int installNovice(dialogMenuItem *self); extern int installFixitCDROM(dialogMenuItem *self); @@ -556,10 +560,11 @@ extern int optionsEditor(dialogMenuItem *self); /* package.c */ extern int package_add(char *name); extern int package_extract(Device *dev, char *name, Boolean depended); +extern Boolean package_exists(char *name); /* system.c */ extern void systemInitialize(int argc, char **argv); -extern void systemShutdown(void); +extern void systemShutdown(int status); extern int execExecute(char *cmd, char *name); extern int systemExecute(char *cmd); extern int systemDisplayHelp(char *file); |