Teach rc script to copy custom_logos over default one

This commit is contained in:
Renato Botelho 2016-06-20 08:51:47 -03:00
parent 941c4c5d4c
commit 233884c99d

View File

@ -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