Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense re-branding - change default theme

    General pfSense Questions
    3
    4
    11.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vsawant
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        put a default config.xml in your overlay that references your new theme.

        1 Reply Last reply Reply Quote 0
        • V
          vsawant
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.