aboutsummaryrefslogtreecommitdiffstats
path: root/config/bandwidthd/bandwidthd.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-06-26 17:30:39 +0545
committerPhil Davis <phil.davis@inf.org>2014-06-26 17:30:39 +0545
commitb468b8725ca571f72f11728e8bd7b1dbceda8f3b (patch)
treefb7ca1fb5f6f32ab7852c194f43d33e3b4eff79a /config/bandwidthd/bandwidthd.inc
parent6356be0b86de2072162337d29ea0663befe04450 (diff)
downloadpfsense-packages-b468b8725ca571f72f11728e8bd7b1dbceda8f3b.tar.gz
pfsense-packages-b468b8725ca571f72f11728e8bd7b1dbceda8f3b.tar.bz2
pfsense-packages-b468b8725ca571f72f11728e8bd7b1dbceda8f3b.zip
bandwidthd for 2.2 full install
Thanks to charliem https://forum.pfsense.org/index.php?topic=78175.msg428321#msg428321 for this patch to make bandwidthd find the right library environment on 2.2 full install. I also tested on 2.1.4 full install in a VM, as this change does change the way bandwidthd is run in the 2.1.n series - it works.
Diffstat (limited to 'config/bandwidthd/bandwidthd.inc')
-rw-r--r--config/bandwidthd/bandwidthd.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 16ce4ab1..b7ef3bbd 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -348,7 +348,9 @@ cd -
EOD;
} else {
$rc['start'] = <<<EOD
-/usr/local/bandwidthd/bandwidthd
+cd {$bandwidthd_base_dir}
+{$bandwidthd_runtime_library_env} {$bandwidthd_base_dir}/bandwidthd
+cd -
EOD;
}
} else {