diff options
author | matusita <matusita@FreeBSD.org> | 2002-06-01 14:50:14 +0000 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2002-06-01 14:50:14 +0000 |
commit | 5942cf3adb48c32a506204e6336cff47908bcd8a (patch) | |
tree | 959027381f708b9d13fd6e1ad297f74cc1bd4cfe /usr.sbin/sade | |
parent | 20552d4d83960955e1b7d3636b29302210bc7686 (diff) | |
download | FreeBSD-src-5942cf3adb48c32a506204e6336cff47908bcd8a.zip FreeBSD-src-5942cf3adb48c32a506204e6336cff47908bcd8a.tar.gz |
Add 'Sendmail' menu to set sendmail_enable variable.
Reviewed by: bmah (description only)
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/menus.c | 22 | ||||
-rw-r--r-- | usr.sbin/sade/sade.h | 1 |
2 files changed, 22 insertions, 1 deletions
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index 3b2fd10..ea0e2bd 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -1372,7 +1372,7 @@ DMenu MenuNetworking = { { " Rwhod", "This machine wants to run the rwho daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" }, { " Sendmail", "This machine wants to run the sendmail daemon", - dmenuVarCheck, dmenuToggleVariable, NULL, "sendmail_enable=YES" }, + NULL, dmenuSubmenu, NULL, &MenuSendmail }, { " Sshd", "This machine wants to run the ssh daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "sshd_enable=YES" }, { " TCP Extensions", "Allow RFC1323 and RFC1644 TCP extensions?", @@ -1380,6 +1380,26 @@ DMenu MenuNetworking = { { NULL } }, }; +DMenu MenuSendmail = { + DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS, + "Sendmail Invocation Selection", + "There are three options for invoking sendmail at startup.\n" + "Please select Yes if you want to use sendmail as your mail transfer\n" + "agent. Selecting No disables sendmail's network socket for incoming\n" + "email, but still enables sendmail for outbound mail. None disables\n" + "sendmail completely at startup.", + NULL, + NULL, + { + { " Yes", "Start sendmail", + dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=YES" }, + { " No", "Start sendmail, but don't listen from network", + dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NO" }, + { " None", "Don't start any sendmail processes", + dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NONE" }, + { NULL } }, +}; + DMenu MenuNTP = { DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS, "NTPDATE Server Selection", diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index a137b52..438a28e 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -407,6 +407,7 @@ extern DMenu MenuSysconsSaver; /* System console saver configuration menu */ extern DMenu MenuSysconsScrnmap; /* System console screenmap configuration menu */ extern DMenu MenuSysconsTtys; /* System console terminal type menu */ extern DMenu MenuNetworking; /* Network configuration menu */ +extern DMenu MenuSendmail; /* Sendmail configuration menu */ extern DMenu MenuInstallCustom; /* Custom Installation menu */ extern DMenu MenuDistributions; /* Distribution menu */ extern DMenu MenuDiskDevices; /* Disk type devices */ |