The pfSense Store

Author Topic: pfsense re-branding - change default theme  (Read 5581 times)

0 Members and 2 Guests are viewing this topic.

Offline vsawant

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
pfsense re-branding - change default theme
« on: July 26, 2010, 12:28:33 am »
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

Offline submicron

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 741
  • Karma: +0/-0
  • I like pie!
    • View Profile
    • BSDPerimeter
Re: pfsense re-branding - change default theme
« Reply #1 on: July 26, 2010, 12:30:38 am »
put a default config.xml in your overlay that references your new theme. 
I do not respond to PMs demanding help.

Offline vsawant

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: pfsense re-branding - change default theme
« Reply #2 on: July 26, 2010, 12:41:58 am »
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

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense
Re: pfsense re-branding - change default theme
« Reply #3 on: July 26, 2010, 11:36:07 am »
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