aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-05-12 22:56:57 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-05-12 22:56:57 -0400
commita9a90b9225c20ac2ed9279be889681cf03ffbbfc (patch)
tree6f67116d7c0f6037d0092439d0d6a5cbef2f7619 /config/openbgpd
parentc74e4dc2ea303c9c54874c3d527be52722cb09e7 (diff)
downloadpfsense-packages-a9a90b9225c20ac2ed9279be889681cf03ffbbfc.tar.gz
pfsense-packages-a9a90b9225c20ac2ed9279be889681cf03ffbbfc.tar.bz2
pfsense-packages-a9a90b9225c20ac2ed9279be889681cf03ffbbfc.zip
Add -f /usr/local/etc/bgpd.conf for correctness
Diffstat (limited to 'config/openbgpd')
-rw-r--r--config/openbgpd/openbgpd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 8e64c683..41064b99 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -130,7 +130,7 @@ function openbgpd_install_conf() {
$fd = fopen("/usr/local/etc/rc.d/bgpd.sh","w");
fwrite($fd, "#!/bin/sh\n\n");
fwrite($fd, "# This file was created by the pfSense package manager. Do not edit!\n\n");
- fwrite($fd, "bgpd\n");
+ fwrite($fd, "bgpd -f /usr/local/etc/bgpd.conf\n");
fclose($fd);
exec("chmod a+rx /usr/local/etc/rc.d/bgpd.sh");
exec("chmod a-rw /usr/local/etc/bgpd.conf");