diff options
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index 25bad20..8a5cb42 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -136,7 +136,13 @@ if($needs_system_upgrade == true) { } /* launch external upgrade helper */ -$external_upgrade_helper_text = "/etc/rc.firmware pfSenseupgrade "; +$external_upgrade_helper_text = "/etc/rc.firmware "; + +if($g['platform'] == "nanobsd") + $external_upgrade_helper_text .= "pfSenseNanoBSDupgrade "; +else + $external_upgrade_helper_text .= "pfSenseupgrade "; + if($needs_system_upgrade == true) $external_upgrade_helper_text .= "/tmp/latest.tgz"; |