diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-29 02:22:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-29 02:22:48 +0000 |
commit | 090d9e95466ae470991c6f6e22e2e111c0236728 (patch) | |
tree | be414feb50fbe8649ad8b2dac3b5424395d2813a /usr.sbin/sade | |
parent | 9619e29bbae46a535e84c64c85cc0d6311599e8a (diff) | |
download | FreeBSD-src-090d9e95466ae470991c6f6e22e2e111c0236728.zip FreeBSD-src-090d9e95466ae470991c6f6e22e2e111c0236728.tar.gz |
Copy the documentation files up into the release area - I've been doing
this by hand all along. Silly.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/config.c | 18 | ||||
-rw-r--r-- | usr.sbin/sade/menus.c | 4 | ||||
-rw-r--r-- | usr.sbin/sade/sade.h | 13 |
3 files changed, 27 insertions, 8 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 870491f..474f706 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.37 1996/06/15 17:58:51 jkh Exp $ + * $Id: config.c,v 1.38 1996/06/25 04:28:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -578,6 +578,22 @@ configGated(dialogMenuItem *self) return ret; } +/* Load novell client/server package */ +int +configNovell(dialogMenuItem *self) +{ + int ret = DITEM_SUCCESS; + + if (variable_get(VAR_NOVELL)) + variable_unset(VAR_NOVELL); + else { + ret = package_add("commerce/netcon/bsd60"); + if (DITEM_STATUS(ret) == DITEM_SUCCESS) + variable_set2(VAR_NOVELL, "YES"); + } + return ret; +} + /* Load pcnfsd package */ int configPCNFSD(dialogMenuItem *self) diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index e9ddc05..3979657 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: menus.c,v 1.72 1996/06/26 09:09:30 jkh Exp $ + * $Id: menus.c,v 1.73 1996/06/27 07:03:44 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -1037,6 +1037,8 @@ aspects of your system's network configuration.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" }, { "Gated", "This machine wants to run gated instead of routed", dmenuVarCheck, configGated, NULL, "gated" }, + { "Novell", "Install the Novell client/server demo package", + dmenuVarCheck, configNovell, NULL, "novell" }, { "Ntpdate", "Select a clock-syncronization server", dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', (int)"ntpdate" }, { "Routed", "Set flags for routed (default: -q)", diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 6905168..8dbf31a 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.63 1996/06/16 23:17:35 jkh Exp $ + * $Id: sysinstall.h,v 1.64 1996/06/17 21:48:33 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -117,6 +117,7 @@ #define VAR_NFS_SECURE "nfsSecure" #define VAR_NFS_SERVER "nfs_server" #define VAR_NO_CONFIRM "noConfirm" +#define VAR_NOVELL "novell" #define VAR_NTPDATE "ntpDate" #define VAR_PCNFSD "pcnfsd" #define VAR_PKG_TMPDIR "PKG_TMPDIR" @@ -364,6 +365,11 @@ extern int configSaverTimeout(dialogMenuItem *self); extern int configNTP(dialogMenuItem *self); extern int configXFree86(dialogMenuItem *self); extern int configRoutedFlags(dialogMenuItem *self); +extern int configGated(dialogMenuItem *self); +extern int configSamba(dialogMenuItem *self); +extern int configPCNFSD(dialogMenuItem *self); +extern int configNFSServer(dialogMenuItem *self); +extern int configNovell(dialogMenuItem *self); /* crc.c */ extern int crc(int, unsigned long *, unsigned long *); @@ -470,11 +476,6 @@ extern int installFilesystems(dialogMenuItem *self); extern int installVarDefaults(dialogMenuItem *self); extern Boolean copySelf(void); -/* installFinal.c */ -extern int configGated(dialogMenuItem *self); -extern int configSamba(dialogMenuItem *self); -extern int configPCNFSD(dialogMenuItem *self); -extern int configNFSServer(dialogMenuItem *self); /* label.c */ extern int diskLabelEditor(dialogMenuItem *self); |