Issues with upgrade on SG-1100
-
I just upgraded from the Aug 10th update to the Aug 30th update on my SG-1100. I am receiving an error on boot of the below. Please let me know what I need to modify to fix the file.
Parse error: syntax error, unexpected ')' in /etc/inc/system.inc on line 2734 Netgate pfSense Plus 21.09-BETA arm64 Mon Aug 30 01:12:14 EDT 2021
case 'mvebu_armada-37xx': $_gb = exec('/usr/sbin/ofwdump -P model -R / 2>/dev/null', $fdtModel); if (strncmp($fdtModel[0], "Netgate SG-1100", 15) == 0) { strncmp($fdtModel[0], "Netgate 1100", 12) == 0) { return (array('name' => '1100', 'descr' => 'Netgate 1100')); } elseif (strncmp($fdtModel[0], "Netgate SG-2100", 15) == 0 || strncmp($fdtModel[0], "Netgate 2100", 12) == 0) { return (array('name' => '2100', 'descr' => 'Netgate 2100')); } break;
-
Never mind, found the issue with the statement.
case 'mvebu_armada-37xx': $_gb = exec('/usr/sbin/ofwdump -P model -R / 2>/dev/null', $fdtModel); if (strncmp($fdtModel[0], "Netgate SG-1100", 15) == 0 || strncmp($fdtModel[0], "Netgate 1100", 12) == 0) { return (array('name' => '1100', 'descr' => 'Netgate 1100')); } elseif (strncmp($fdtModel[0], "Netgate SG-2100", 15) == 0 || strncmp($fdtModel[0], "Netgate 2100", 12) == 0) { return (array('name' => '2100', 'descr' => 'Netgate 2100')); } break;
-
That was already fixed by the time of this post, a new (fixed) snapshot is already up.
-
@jimp Thanks, just got the new snapshot and the issue is fixed in the latest snap
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.