diff options
author | Renato Botelho <renato@netgate.com> | 2016-06-20 08:51:47 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-06-20 08:51:47 -0300 |
commit | f7765452951da66fa9471e5bb61269cd29f87bef (patch) | |
tree | ff93f3a8e1eea1f79368a523ba87c306440ffb0f /src | |
parent | ad516a50ddb75d587486e08ef9878ee7f9657911 (diff) | |
download | pfsense-f7765452951da66fa9471e5bb61269cd29f87bef.zip pfsense-f7765452951da66fa9471e5bb61269cd29f87bef.tar.gz |
Teach rc script to copy custom_logos over default one
Diffstat (limited to 'src')
-rwxr-xr-x | src/etc/rc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |