diff options
author | jim-p <jimp@pfsense.org> | 2012-06-13 11:10:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-13 11:10:15 -0400 |
commit | ca2a1029c0e325e387c7f5116539646cc8070508 (patch) | |
tree | ad7094fb00f916440b43bedd1d4b90c29a05671b /config/quagga_ospfd/quaggactl | |
parent | 2a3aeed08e7197c55bf6ed132391555261e5aaa7 (diff) | |
download | pfsense-packages-ca2a1029c0e325e387c7f5116539646cc8070508.tar.gz pfsense-packages-ca2a1029c0e325e387c7f5116539646cc8070508.tar.bz2 pfsense-packages-ca2a1029c0e325e387c7f5116539646cc8070508.zip |
Misc quagga updates - ensure user exists, fix some tests, add some safety checks, move config to /var/etc/
Diffstat (limited to 'config/quagga_ospfd/quaggactl')
-rw-r--r-- | config/quagga_ospfd/quaggactl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/quagga_ospfd/quaggactl b/config/quagga_ospfd/quaggactl index 198a8411..f370b425 100644 --- a/config/quagga_ospfd/quaggactl +++ b/config/quagga_ospfd/quaggactl @@ -1,11 +1,12 @@ #!/bin/sh RC_SCRIPT=/usr/local/etc/rc.d/quagga.sh +QUAGGA_CONFIG_BASE=/var/etc/quagga -ZEBRA_CONFIG=/usr/local/etc/quagga/zebra.conf +ZEBRA_CONFIG=${QUAGGA_CONFIG_BASE}/zebra.conf ZEBRA_PORT=2601 ZEBRA_PASSWORD=`/usr/bin/grep '^password ' ${ZEBRA_CONFIG} | /usr/bin/awk '{print $2};'` -OSPF_CONFIG=/usr/local/etc/quagga/ospfd.conf +OSPF_CONFIG=${QUAGGA_CONFIG_BASE}/ospfd.conf OSPF_PORT=2604 OSPF_PASSWORD=`/usr/bin/grep '^password ' ${OSPF_CONFIG} | /usr/bin/awk '{print $2};'` |