Embedded pfsense deleting custom themes after update



  • I have made a custom pfsense theme that I just drop into /usr/local/www/themes and it works just fine on my normal hdd installs of pfsense but I just loaded up an embedded pfsense and after running the update from 2.1.3 to 2.1.4 my custom theme files were deleted out of /usr/local/www/themes. Is there anyway to prevent this from happening on embedded systems? Why would this happen?


  • Netgate Administrator

    Do you mean the embedded kernel on a standard install or a Nano image?
    The Nano images use a separate slice when you update so only things copied across and the shared config slide are kept.

    Steve



  • It's nano. So you are saying I can't get my theme files to persist through the update?


  • Netgate Administrator

    You can use the 'files ' package if your theme is all text script (not compiled).

    Steve



  • Can you give me a little more detail?
    All I have done is take an existing theme on a running pfsense and change the graphic files. I don't know how to make a theme from scratch.


  • Netgate Administrator

    The 'files' package allows you to store custom scripts within the config file such that they would be reinstated after a firmware upgrade. You can only store text based files though so no images or binaries.
    You may be able to store images in /conf , the config slice, and then point at them in the theme instead. I'm not sure I've never tried any theming.

    Steve


Log in to reply