summaryrefslogtreecommitdiffstats
path: root/src
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:51:47 -0300
commitf7765452951da66fa9471e5bb61269cd29f87bef (patch)
treeff93f3a8e1eea1f79368a523ba87c306440ffb0f /src
parentad516a50ddb75d587486e08ef9878ee7f9657911 (diff)
downloadpfsense-f7765452951da66fa9471e5bb61269cd29f87bef.zip
pfsense-f7765452951da66fa9471e5bb61269cd29f87bef.tar.gz
Teach rc script to copy custom_logos over default one
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/rc b/src/etc/rc
index e82a5ba..92d085b 100755
--- a/src/etc/rc
+++ b/src/etc/rc
@@ -409,6 +409,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