mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-26 02:57:45 -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
|
export LC_ALL=C
|
||||||
|
|
||||||
## Read emergency shutdown key configuration
|
## 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}"
|
bash -n "${config_file}"
|
||||||
source "${config_file}"
|
source "${config_file}"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ source /usr/libexec/helper-scripts/strings.bsh
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
## Read emergency shutdown key configuration
|
## 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}"
|
bash -n "${config_file}"
|
||||||
source "${config_file}"
|
source "${config_file}"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue