diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-02-06 01:55:40 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-02-06 01:55:40 +0000 |
commit | 5ae8784f591a10e3b022a4ffacdfdcbd6af17e32 (patch) | |
tree | 2da2ce7d84789a028aa35c1190a48a35d6adea23 /usr.sbin/sysinstall/config.c | |
parent | 62a61b18df25f88cb69de995e02d10e9d87148cc (diff) | |
download | FreeBSD-src-5ae8784f591a10e3b022a4ffacdfdcbd6af17e32.zip FreeBSD-src-5ae8784f591a10e3b022a4ffacdfdcbd6af17e32.tar.gz |
Relocate a call to enable inetd so that it is set regardless of
whether the user chooses to edit inetd.conf.
PR: 39311
Reported by: Martin Faxer <gmh003532@brfmasthugget.se>
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 0edeed4..a1b5044 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -941,7 +941,7 @@ configInetd(dialogMenuItem *self) variable_set2("inetd_enable", "NO", 1); } else { /* If inetd is enabled, we'll need an inetd.conf */ - + variable_set2("inetd_enable", "YES", 1); if (!msgYesNo("inetd(8) relies on its configuration file, /etc/inetd.conf, to determine\n" "which of its Internet services will be available. The default FreeBSD\n" "inetd.conf(5) leaves all services disabled by default, so they must be\n" @@ -953,7 +953,6 @@ configInetd(dialogMenuItem *self) sprintf(cmd, "%s /etc/inetd.conf", variable_get(VAR_EDITOR)); dialog_clear(); systemExecute(cmd); - variable_set2("inetd_enable", "YES", 1); } } restorescr(w); |