=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.448 retrieving revision 1.449 diff -u -r1.448 -r1.449 --- src/etc/rc 2015/03/11 14:48:58 1.448 +++ src/etc/rc 2015/05/02 09:35:44 1.449 @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.448 2015/03/11 14:48:58 krw Exp $ +# $OpenBSD: rc,v 1.449 2015/05/02 09:35:44 ajacoutot Exp $ # System startup script run by init on autoboot # or after single-user. @@ -362,8 +362,8 @@ dmesg > /dev/random # any write triggers a rekey if [ X"${pf}" != X"NO" ]; then - if [ -f ${pf_rules} ]; then - pfctl -f ${pf_rules} + if [ -f /etc/pf.conf ]; then + pfctl -f /etc/pf.conf fi # bring up pfsync after the working ruleset has been loaded if [ -f /etc/hostname.pfsync0 ]; then @@ -392,8 +392,8 @@ echo '.' if [ X"${ipsec}" != X"NO" ]; then - if [ -f ${ipsec_rules} ]; then - ipsecctl -f ${ipsec_rules} + if [ -f /etc/ipsec.conf ]; then + ipsecctl -f /etc/ipsec.conf fi fi