summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2011-07-07 04:44:34 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2011-07-07 04:44:34 +0000
commit52a7a6177d1e801a397d38a244db1c62347435e5 (patch)
tree5af6ecc7052f1b4fdab1a38d597c6706d3680052
parent95832a7fade2e7c91fd2c50df9e609733f8b03b5 (diff)
add compat for portmap
-rw-r--r--etc/rc.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.conf b/etc/rc.conf
index f95a50e9f5e..88783e17894 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.142 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: rc.conf,v 1.143 2011/07/07 04:44:33 robert Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
@@ -49,6 +49,7 @@ aucat_flags=NO # for normal use: ""
ldapd_flags=NO # for normal use: ""
inetd_flags="" # for normal use: ""
rwhod_flags=NO # for normal use: ""
+portmap_flags=NO # for normal use: ""
# use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
@@ -113,10 +114,11 @@ rc_scripts=
local_rcconf="/etc/rc.conf.local"
-unset inetd_flags rwhod_flags
+unset inetd_flags rwhod_flags portmap_flags
[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line
# backward compatibility for inetd and rwhod
: ${inetd_flags=$([ X"${inetd-YES}" = XYES ] || echo NO)}
: ${rwhod_flags=$([ X"${rwhod-NO}" = XYES ] || echo NO)}
+: ${portmap_flags=$([ X"${portmap-NO}" = XYES ] || echo NO)}