diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-02-14 16:00:59 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-02-14 16:00:59 +0000 |
commit | 1366f91c08553f00d4ca497d6240b42f1916917e (patch) | |
tree | c952b58afac262f748e3143409afb97b39825662 /etc | |
parent | 5ad15c0256db45a043dc3827f34dc79393a8a1f0 (diff) |
Fix NFS diskless boot when PF is used.
From dhartmei@ e-mail, ok henning@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 }" ;; |