aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-03-13 11:24:46 -0700
committerJim P <jim@pingle.org>2013-03-13 11:24:46 -0700
commit456a08af014304bebb445184ad7ae085968e3b6d (patch)
treeed20e9f118ec406784772654f6867d262396a9f2 /config
parent53c131430f1f47eebfce51a0cc6a5fa6fe92aa72 (diff)
parent8ffc3085e3d43f4e973f5205879a7d1421732a03 (diff)
downloadpfsense-packages-456a08af014304bebb445184ad7ae085968e3b6d.tar.gz
pfsense-packages-456a08af014304bebb445184ad7ae085968e3b6d.tar.bz2
pfsense-packages-456a08af014304bebb445184ad7ae085968e3b6d.zip
Merge pull request #406 from phil-davis/master
bandwidthd on nanobsd - put legend and logo files in place
Diffstat (limited to 'config')
-rw-r--r--config/bandwidthd/bandwidthd.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 8821ac76..47a4b1fd 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -252,7 +252,12 @@ if [ ! -L "{$bandwidthd_nano_dir}/etc" ] ; then
fi
/bin/ln -s {$bandwidthd_config_dir} {$bandwidthd_nano_dir}/etc
fi
-
+if [ ! -f "{$bandwidthd_htdocs_dir}/legend.gif" ] ; then
+ /bin/cp {$bandwidthd_base_dir}/htdocs/legend.gif {$bandwidthd_htdocs_dir}
+fi
+if [ ! -f "{$bandwidthd_htdocs_dir}/logo.gif" ] ; then
+ /bin/cp {$bandwidthd_base_dir}/htdocs/logo.gif {$bandwidthd_htdocs_dir}
+fi
cd {$bandwidthd_nano_dir}
{$bandwidthd_nano_dir}/bandwidthd
cd -