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*"