mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-19 09:14:07 -04:00
refactoring
This commit is contained in:
parent
fdd1f4b7f8
commit
ef0eb5f7a0
1 changed files with 1 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
shopt -s nullglob
|
||||||
|
|
||||||
run_cmd() {
|
run_cmd() {
|
||||||
echo "INFO: normal executing : $@"
|
echo "INFO: normal executing : $@"
|
||||||
|
@ -27,8 +28,6 @@ default_variables_set() {
|
||||||
selinux=0
|
selinux=0
|
||||||
}
|
}
|
||||||
|
|
||||||
shopt -s nullglob
|
|
||||||
|
|
||||||
parse_configuration() {
|
parse_configuration() {
|
||||||
## Allows for disabling the whitelist.
|
## Allows for disabling the whitelist.
|
||||||
for i in /usr/local/etc/hide-hardware-info.d/*.conf /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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue