From fd619cd2fc79051e3fdd91d8dbfe5c26588bab33 Mon Sep 17 00:00:00 2001 From: fgsch <> Date: Thu, 11 Nov 1999 22:28:43 +0000 Subject: [PATCH] Allow identd to be used w/o inetd. --- src/etc/rc | 6 +++++- src/etc/rc.conf | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index efaef82a..ed46e490 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.123 1999/10/18 01:46:24 deraadt Exp $ +# $OpenBSD: rc,v 1.124 1999/11/11 22:28:43 fgsch Exp $ # System startup script run by init on autoboot # or after single-user. @@ -411,6 +411,10 @@ if [ "X${ftpd_flags}" != X"NO" ]; then echo -n ' ftpd'; /usr/libexec/ftpd ${ftpd_flags} fi +if [ "X${identd_flags}" != X"NO" ]; then + echo -n ' identd'; /usr/libexec/identd ${identd_flags} +fi + # $smtpfwdd_flags is imported from /etc/rc.conf; # If $smtpfwdd_flags == NO, smtpfwdd isn't run. if [ "X${smtpfwdd_flags}" != X"NO" ]; then diff --git a/src/etc/rc.conf b/src/etc/rc.conf index b0948c4a..efb4e9c6 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.40 1999/10/17 00:58:02 millert Exp $ +# $OpenBSD: rc.conf,v 1.41 1999/11/11 22:28:43 fgsch Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -23,6 +23,9 @@ dhcpd_flags=NO # for normal use: "-q" # Set to NO if ftpd is running out of inetd ftpd_flags=NO # for non-inetd use: "-D" +# Set to NO if identd is running out of inetd +identd_flags=NO # for non-inetd use: "-b -u nobody -elo" + # On some architectures, you must also disable console getty in /etc/ttys xdm_flags=NO # for normal use: ""