aboutsummaryrefslogtreecommitdiffstats
path: root/config/systempatches/system_patches.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-03-29 11:46:21 -0400
committerjim-p <jimp@pfsense.org>2013-03-29 11:46:21 -0400
commit155bc1fbd34ed53b0063c06285b891c59ec99f63 (patch)
tree2e508f22c3cc289d0bcb3f4bc165b900c7b8d747 /config/systempatches/system_patches.php
parent651dd8c43c4aab0ec854f6b01cca8ab99fecce25 (diff)
downloadpfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.tar.gz
pfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.tar.bz2
pfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.zip
Add "auto apply" bit to system patches which will attempt to apply a patch during earlyshellcmd at boot time, to help patches survive across reboots and upgrades.
Diffstat (limited to 'config/systempatches/system_patches.php')
-rw-r--r--config/systempatches/system_patches.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/systempatches/system_patches.php b/config/systempatches/system_patches.php
index 1dd6470b..70260e4b 100644
--- a/config/systempatches/system_patches.php
+++ b/config/systempatches/system_patches.php
@@ -179,11 +179,12 @@ include("head.inc");
<tr id="frheader">
<td width="5%" class="list">&nbsp;</td>
<td width="5%" class="listhdrr"><?=gettext("Description");?></td>
-<td width="65%" class="listhdrr"><?=gettext("URL/ID");?></td>
+<td width="60%" class="listhdrr"><?=gettext("URL/ID");?></td>
<td width="5%" class="listhdrr"><?=gettext("Fetch");?></td>
<td width="5%" class="listhdrr"><?=gettext("Test");?></td>
<td width="5%" class="listhdrr"><?=gettext("Apply");?></td>
<td width="5%" class="listhdr"><?=gettext("Revert");?></td>
+<td width="5%" class="listhdr"><?=gettext("Auto Apply");?></td>
<td width="5%" class="list">
<table border="0" cellspacing="0" cellpadding="1" summary="buttons">
<tr><td width="17">
@@ -242,6 +243,9 @@ foreach ($a_patches as $thispatch):
<a href="system_patches.php?id=<?=$i;?>&amp;act=revert"><?php echo gettext("Revert"); ?></a>
<?php endif; ?>
</td>
+ <td class="listr" onclick="fr_toggle(<?=$npatches;?>)" id="frd<?=$npatches;?>" ondblclick="document.location='system_patches_edit.php?id=<?=$npatches;?>';">
+ <?= isset($thispatch['autoapply']) ? "Yes" : "No" ?>
+ </td>
<td valign="middle" class="list" nowrap>
<table border="0" cellspacing="0" cellpadding="1" summary="edit">
<tr>