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/systempatches.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config/systempatches/systempatches.xml') diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml index 3802ba58..ea0eee78 100644 --- a/config/systempatches/systempatches.xml +++ b/config/systempatches/systempatches.xml @@ -40,8 +40,9 @@ None Applies patches supplied by the user to the firewall. System Patches - 0.5.1 + 0.8 System: Patches + /usr/local/pkg/patches.inc Patches @@ -58,9 +59,20 @@ 644 http://www.pfsense.com/packages/config/systempatches/system_patches_edit.php + + /usr/local/bin/ + 755 + http://www.pfsense.com/packages/config/systempatches/apply_patches.php + /usr/local/pkg/ 644 http://www.pfsense.com/packages/config/systempatches/patches.inc + + patch_package_install(); + + + patch_package_deinstall(); + \ No newline at end of file -- cgit v1.2.3