Stop Homepage Version check fetching
-
2.0-RC2 (amd64)
built on Sun May 15 20:17:31 EDT 2011Update available. Click Here to view update.
How do I make pfSense stop fetching for status on latest firmware updates every time I go to the main homepage?
I want to get rid of this line "Update available. Click Here to view update."
-
There isn't an option to disable that check. You'd have to edit it out of the system information widget.
-
Could you please post the steps. Where can I find that widget?
-
Why the hell do you want that? If you don't like a customer to see that you are using an RC then wait for a release version ;-)
-
The code is in /usr/local/www/widgets/widgets/system_information.widget.php
As for the exact steps, if you aren't familiar enough with editing PHP files to make that change, it would be too dangerous to tell you what to edit.
-
ok I found the PHP file through File Manager and can open to edit it.
where do I need to insert code (what code) or delete code to stop the checks? Can I comment out the "firmware check" code?
-
I'm no pro at this… But I would just comment out the part where it checks for an update. Or... Just change the logic around lol. If you want it to say no update necessary then change the false to true and the true to false.. Switch it around so if there's no update it will say you need to update and if there is an update it will say you don't need one.
I dunno... just a stupid idea but it will work. You can also just delete the text that says you need to update and that way it will be blank..
Be careful you don't screw something up too badly... I don't see why it's a big deal though.
-
And you probably have to change that everytime you update your box… ::)
-
Everything is working smoothly right now and I am not planning to update the box for a long time or till there is a major release. Unless I am having issues which I can't deal with, I do not want to update the box.
Whenever I go to the homepage, it does this check of connecting and checking for update.. like 3 to 4 second delay.. and I "HATE" every time it does that. I scroll down to check stats and it pulls be back up to the top of the page. Just my preference..
All I would like is that pfsense does not do an auto check (even in the backgroud) every time I load the page.
Which line should I comment out for the auto check to stop totally? How do I comment it out? Put an asterix (*) in front or two front slashes "//" ??
-
The jump probably isn't just from the update check, several AJAX timers are delayed and only kick off a few seconds after the initial page loads.
You may stop one thing and find that what annoys you is something else entirely.