Pfsense re-branding - change default theme
-
Hello,
I am trying to re-brand a pfsense iso. I have followed steps at http://devwiki.pfsense.org/ReBrandingSupport
These steps have worked correctly, but it does not mention about changing the default theme of the webgui. I have created a new theme, and I want to include it into the iso. The ISO contains usr.uzip file in /uzip directory. I think this gets extracted when pfsense boots, and then the /usr/local/www/themes directory is accessible. To add a new theme, I need to add new theme directory to this location. To edit this usr.uzip, I tried to extract that file on freebsd 8.0, using the procedure mentioned at - http://www.gestalts.net/Mount_a_uzip_compressed_filesystem and http://wiki.freebsd.org/AvgLiveCD. As it is using memory devices ( mdconfig -a -f usr.uzip) the filesystem usr.uzip can only be mounted as read only. So, I copied entire mounted filesystem (/mnt) to a writeable home directory in freebsd 8.0 using cp -r. But this command gives error that some .so files are missing.Is there any simple approach to add new theme to pfsense iso to re-brand it?
Thanks,
Vipul -
put a default config.xml in your overlay that references your new theme.
-
@submicron:
put a default config.xml in your overlay that references your new theme.
Thanks for your reply. Can you please point me to some documentation / link to create overlay/config.xml
-
There is no documentation for this. Read the builder scripts source code and if this is not an option consider purchasing a reseller agreement from https://portal.pfsense.org/index.php/reseller-subscription