remove-system.map: source /usr/lib/helper-scripts/pre.bsh

This commit is contained in:
Patrick Schleizer 2020-01-24 03:18:17 -05:00
parent 3b283ec00f
commit d4a37b6df2
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -3,6 +3,13 @@
## Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net> ## Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions. ## 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 shopt -s nullglob
system_map_location="/boot/System.map* /usr/src/*/System.map* /lib/modules/*/*/System.map* /System.map*" system_map_location="/boot/System.map* /usr/src/*/System.map* /lib/modules/*/*/System.map* /System.map*"