From f03ed3505dbd11cf0196b87fe9234b1c3d858fd4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 14 Apr 2014 08:09:19 +0000 Subject: Nowdays there is no real difference between the kernels apart the ZFS support. So do not keep a distinction anymore --- usr/local/www/system_firmware.php | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'usr') diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 65b556d..37fdf93 100644 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -48,16 +48,10 @@ $nocsrf = true; require_once("globals.inc"); require_once("functions.inc"); require_once("guiconfig.inc"); +require_once("xmlrpc_client.inc"); $curcfg = $config['system']['firmware']; -$kerneltypes = array( - 'SMP' => gettext("Standard Kernel"), - 'wrap' => gettext("Embedded Kernel"), -); - -require_once("xmlrpc_client.inc"); - /* Allow additional execution time 0 = no limit. */ ini_set('max_execution_time', '9999'); ini_set('max_input_time', '9999'); @@ -121,9 +115,6 @@ if(is_subsystem_dirty('firmwarelock')) { if($_POST['backupbeforeupgrade']) touch("/tmp/perform_full_backup.txt"); -if ($_POST['kerneltype'] && in_array($_POST['kerneltype'], array_keys($kerneltypes))) - file_put_contents("/boot/kernel/pfsense_kernel.txt", $_POST['kerneltype']); - /* Handle manual upgrade */ if ($_POST && !is_subsystem_dirty('firmwarelock')) { @@ -286,19 +277,6 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd"))
- "; - foreach($kerneltypes as $kerntype => $kerndescr) { - echo ""; - } - echo ""; - echo "
"; - } - } - ?>
-- cgit v1.1