Browse Source

add compat for portmap

OPENBSD_5_0
robert 13 years ago
parent
commit
8bc6d79649
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/etc/rc.conf

+ 4
- 2
src/etc/rc.conf View File

@ -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)}

Loading…
Cancel
Save