From 155bc1fbd34ed53b0063c06285b891c59ec99f63 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 29 Mar 2013 11:46:21 -0400 Subject: 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. --- config/systempatches/system_patches_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/systempatches/system_patches_edit.php') diff --git a/config/systempatches/system_patches_edit.php b/config/systempatches/system_patches_edit.php index 3dd5e349..5b30c9c5 100644 --- a/config/systempatches/system_patches_edit.php +++ b/config/systempatches/system_patches_edit.php @@ -127,6 +127,8 @@ if ($_POST) { } write_config(); + if ($thispatch['autoapply']) + patch_add_shellcmd(); header("Location: system_patches.php"); return; } @@ -192,7 +194,6 @@ include("head.inc"); -   Patch id: -- cgit v1.2.3