Possible to disable no new release warning?
-
I'm getting spammed with this in the logs on some older devices, is there any way to disable this notification?
ERROR: The Netgate SG-1000 cannot be upgraded. There are no new releases for the SG-1000. @ 2023-10-27 22:57:07 -
I'm suffering from the same problem on my SG-1000. No upgrade is available, and dismissing or turning off the notification regarding cannot be upgraded seems impossible.
-
Here's a patch for the "System_Patches" package which should suppress the SG-1000 notice.
--- a/usr/local/libexec/pfSense-upgrade +++ b/usr/local/libexec/pfSense-upgrade @@ -1547,10 +1547,10 @@ # Do not upgrade the Netgate SG-1000 if [ "$(/bin/kenv -q uboot.board_name 2> /dev/null)" = "A335uFW" ]; then - MESSAGE="ERROR: The Netgate SG-1000 cannot be upgraded. \ -There are no new releases for the SG-1000." - notice "${MESSAGE}" - _echo "${MESSAGE}" + #MESSAGE="ERROR: The Netgate SG-1000 cannot be upgraded. \ +#There are no new releases for the SG-1000." + #notice "${MESSAGE}" + #_echo "${MESSAGE}" exit 1 fi # Do not upgrade while wg interfaces are assigned
Path Strip Count
=>1
Base Directory
=>/
-
@Izaac Thanks for this, have applied it to one of my sg-1000 units for testing!
-
@Izaac It worked perfectly—thanks so much for your help!