mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
hide-hardware-info: also parse /usr/local/etc/hide-hardware-info.d/*.conf
This commit is contained in:
parent
6c2e808b9f
commit
d00235897d
@ -28,7 +28,7 @@ selinux=0
|
|||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
## Allows for disabling the whitelist.
|
## Allows for disabling the whitelist.
|
||||||
for i in /etc/hide-hardware-info.d/*.conf ; do
|
for i in /usr/local/etc/hide-hardware-info.d/*.conf /etc/hide-hardware-info.d/*.conf ; do
|
||||||
bash -n "${i}"
|
bash -n "${i}"
|
||||||
source "${i}"
|
source "${i}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user