mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixup pkg_nochecksig option
This commit is contained in:
parent
56e75b0bcf
commit
51623673da
@ -74,7 +74,7 @@ $pconfig['use_mfs_tmpvar'] = isset($config['system']['use_mfs_tmpvar']);
|
||||
$pconfig['use_mfs_tmp_size'] = $config['system']['use_mfs_tmp_size'];
|
||||
$pconfig['use_mfs_var_size'] = $config['system']['use_mfs_var_size'];
|
||||
$pconfig['noinstalllanspd'] = $config['system']['noinstalllanspd'];
|
||||
$pconfig['pkg_nochecksig'] = $config['system']['pkg_nochecksig'];
|
||||
$pconfig['pkg_nochecksig'] = isset($config['system']['pkg_nochecksig']);
|
||||
|
||||
$pconfig['powerd_ac_mode'] = "hadp";
|
||||
if (!empty($config['system']['powerd_ac_mode']))
|
||||
@ -191,7 +191,7 @@ if ($_POST) {
|
||||
|
||||
if($_POST['pkg_nochecksig'] == "yes")
|
||||
$config['system']['pkg_nochecksig'] = true;
|
||||
else
|
||||
elseif (isset($config['system']['pkg_nochecksig']))
|
||||
unset($config['system']['pkg_nochecksig']);
|
||||
|
||||
if($_POST['maxmss_enable'] == "yes") {
|
||||
@ -710,7 +710,7 @@ function tmpvar_checked(obj) {
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncell"><?=gettext("Packages signature"); ?></td>
|
||||
<td width="78%" class="vtable">
|
||||
<input name="pkg_nochecksig" type="checkbox" id="pkg_nochecksig" value="yes" <?php if ($pconfig['pkg_nochecksig']) echo "checked=\"checked\""; ?> onclick="tmpvar_checked(this)" />
|
||||
<input name="pkg_nochecksig" type="checkbox" id="pkg_nochecksig" value="yes" <?php if ($pconfig['pkg_nochecksig']) echo "checked=\"checked\""; ?> />
|
||||
<strong><?=gettext("Do NOT check packages signature"); ?></strong><br/>
|
||||
<?=gettext("Enable this option will make pfSense install any packages without check its signature."); ?>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user