Hi Tapani, I run away from ugly hacks and thats the reason I am stuck with version 1.2.1 (do not want to recompile the custom kernel and make my disk) tell if that work
On Fri, Dec 18, 2009 at 11:41 AM, Tapani Tarvainen <[email protected]> wrote: > On Fri, Dec 18, 2009 at 11:21:32AM +0200, Peter Todorov ([email protected]) > wrote > >> So the code will be overwritten on reboot - right? > > The actual pf code, yes - the xml config is where permanent > configuration is kept. (Caveat: I haven't read the code > very thoroughly yet, I only downloaded pfSense first time > yesterday, so I may have missed something obvious.) > >> If so one simple script that copy the file before rebooting and one >> script that overwrite original file after boot. Is this sound any >> sense? > > I guess that'd be possible, but in this case modifying filter.inc > as I did and putting the changes in the xml file seems easier. > It's also more consistent with the rest of the stuff and might > allow patching the GUI later without breaking anything or > having to undo any ugly hacks. > > -- > Tapani Tarvainen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > Commercial support available - https://portal.pfsense.org > > -- честността не е порок --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Commercial support available - https://portal.pfsense.org
