mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-26 00:56:59 -05:00
also parse /usr/local/etc
This commit is contained in:
parent
4da810c8fa
commit
92bcd824e4
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ set -o pipefail
|
|||
export LC_ALL=C
|
||||
|
||||
## Read emergency shutdown key configuration
|
||||
for config_file in /etc/security-misc/emerg-shutdown/*.conf; do
|
||||
for config_file in /etc/security-misc/emerg-shutdown/*.conf /usr/local/etc/security-misc/emerg-shutdown/*.conf; do
|
||||
bash -n "${config_file}"
|
||||
source "${config_file}"
|
||||
done
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ source /usr/libexec/helper-scripts/strings.bsh
|
|||
export LC_ALL=C
|
||||
|
||||
## Read emergency shutdown key configuration
|
||||
for config_file in /etc/security-misc/emerg-shutdown/*.conf; do
|
||||
for config_file in /etc/security-misc/emerg-shutdown/*.conf /usr/local/etc/security-misc/emerg-shutdown/*.conf; do
|
||||
bash -n "${config_file}"
|
||||
source "${config_file}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue