diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-19 22:38:59 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-19 22:38:59 +0000 |
commit | 74ffe8004b1644ba7fb5197f66e0269d808bd30d (patch) | |
tree | ce2e8c260b53ddea96ad8fffa1da133dc7783efb /release | |
parent | 529863cb719810caa17d77ef228a979406a21c6a (diff) | |
download | src-74ffe8004b1644ba7fb5197f66e0269d808bd30d.tar.gz src-74ffe8004b1644ba7fb5197f66e0269d808bd30d.zip |
Notes
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/config.c | 5 | ||||
-rw-r--r-- | release/sysinstall/menus.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index 4dda1ac909f8..2d4028c3446f 100644 --- a/release/sysinstall/config.c +++ b/release/sysinstall/config.c @@ -730,6 +730,11 @@ configRouter(dialogMenuItem *self) variable_unset(VAR_ROUTER); } } + else { + variable_set2(VAR_ROUTER_ENABLE, "NO", 1); + variable_unset(VAR_ROUTERFLAGS); + variable_unset(VAR_ROUTER); + } return ret; } diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c index ad944fa97a9f..94a33fa439c1 100644 --- a/release/sysinstall/menus.c +++ b/release/sysinstall/menus.c @@ -300,7 +300,7 @@ DMenu MenuIndex = { { " Partition", "The disk Slice (PC-style partition) Editor", NULL, diskPartitionEditor }, { " PCNFSD", "Run authentication server for PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" }, { " Root Password", "Set the system manager's password.", NULL, dmenuSystemCommand, NULL, "passwd root" }, - { " Router", "Select routing daemon (default: routed)", NULL, configRouter, NULL, "router" }, + { " Router", "Select routing daemon (default: routed)", NULL, configRouter, NULL, "router_enable" }, { " Syscons", "The system console configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSyscons }, { " Syscons, Font", "The console screen font.", NULL, dmenuSubmenu, NULL, &MenuSysconsFont }, { " Syscons, Keymap", "The console keymap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap }, @@ -1342,7 +1342,7 @@ DMenu MenuNetworking = { { " Ntpdate", "Select a clock-synchronization server", dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " router", "Select routing daemon (default: routed)", - dmenuVarCheck, configRouter, NULL, "router" }, + dmenuVarCheck, configRouter, NULL, "router_enable" }, { " Rwhod", "This machine wants to run the rwho daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" }, { " Anon FTP", "This machine wishes to allow anonymous FTP.", |