Feature #3699
closedLog pfsense version after bootup
0%
Description
I have had trouble trying to keep track of what version of pfSense I was running in the past to submit bug reports and such. dmesg.boot does record at least the kernel version build time but that gets overwritten after each boot and does not get sent to remote logging servers.
I have made a small addition to /etc/rc to log the version number. The name inside () is the $PLATFORM.
Jun 7 21:05:52 pfsense kernel: pfSense (pfSense) 2.2-ALPHA i386 Thu Jun 05 17:02:09 CDT 2014
Jun 7 21:05:52 pfsense kernel: Bootup complete
I would find this very useful to be able to search on remote syslog servers to find out a history of what ALPHA, BETA, etc versions of pfSense were running on my systems. I sometime even change versions a few times a day to find out if problems are version dependent.
My first idea was to add the message to the Bootup complete message but I didn't want to change that entry in case someone is depending on it for some reason to determine when their system rebooted.
I can submit a pull request if I figure out how to do that from my fork on github but for now I attached a diff showing the 5 added lines (one just a blank line) right before the bootup message.
Files