Browse Source

Fix NFS diskless boot when PF is used.

From dhartmei@ e-mail, ok henning@
OPENBSD_3_3
cedric 21 years ago
parent
commit
06d1ffdc38
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/rc

+ 2
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.217 2003/01/20 22:42:01 jakob Exp $
# $OpenBSD: rc,v 1.218 2003/02/14 16:00:58 cedric Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -126,6 +126,7 @@ if [ "X${pf}" != X"NO" ]; then
case `sysctl vfs.mounts.nfs 2>/dev/null` in
*[1-9]*)
# don't kill NFS
RULES="scrub in all no-df\n$RULES"
RULES="$RULES\npass in proto udp from any port { 111, 2049 } to any"
RULES="$RULES\npass out proto udp from any to any port { 111, 2049 }"
;;


Loading…
Cancel
Save