From d4a37b6df2a2de4822e3e4bac93ca3e10712af7c Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 24 Jan 2020 03:18:17 -0500 Subject: [PATCH] remove-system.map: source /usr/lib/helper-scripts/pre.bsh --- usr/lib/security-misc/remove-system.map | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr/lib/security-misc/remove-system.map b/usr/lib/security-misc/remove-system.map index 0cb8823..c99b286 100755 --- a/usr/lib/security-misc/remove-system.map +++ b/usr/lib/security-misc/remove-system.map @@ -3,6 +3,13 @@ ## Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. +if [ -f /usr/lib/helper-scripts/pre.bsh ]; then + ## pre.bsh would `source` the following folders: + ## /etc/remove-system.map_pre.d/*.conf + ## /usr/local/etc/remove-system.map_pre.d/*.conf + source /usr/lib/helper-scripts/pre.bsh +fi + shopt -s nullglob system_map_location="/boot/System.map* /usr/src/*/System.map* /lib/modules/*/*/System.map* /System.map*"