summaryrefslogtreecommitdiffstats
path: root/src/etc/pfSense-rc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-06-20 08:51:47 -0300
committerRenato Botelho <renato@netgate.com>2016-06-20 08:54:09 -0300
commitce9056f6acdc9ce6f61aaeea1cad00ac84990263 (patch)
tree10902e3729e776b81e85c0d858318e48b529011e /src/etc/pfSense-rc
parentb02ae57a4ab4f37060bd39dd005ba01f24877c27 (diff)
downloadpfsense-ce9056f6acdc9ce6f61aaeea1cad00ac84990263.zip
pfsense-ce9056f6acdc9ce6f61aaeea1cad00ac84990263.tar.gz
Teach rc script to copy custom_logos over default one
Diffstat (limited to 'src/etc/pfSense-rc')
-rwxr-xr-xsrc/etc/pfSense-rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/pfSense-rc b/src/etc/pfSense-rc
index 36a1a9a..68d4d5f 100755
--- a/src/etc/pfSense-rc
+++ b/src/etc/pfSense-rc
@@ -413,6 +413,12 @@ if [ "${PLATFORM}" = "nanobsd" ]; then
/sbin/mount -u -f -r -o sync,noatime /cf
fi
+# Copy custom logo over if it's present
+if [ -d /usr/local/share/${product}/custom_logos ]; then
+ cp -f /usr/local/share/${product}/custom_logos/*png \
+ /usr/local/www
+fi
+
/etc/rc.bootup
# /etc/rc.bootup unset $g['booting'], and removes file
OpenPOWER on IntegriCloud