refactoring

This commit is contained in:
Patrick Schleizer 2024-10-28 05:06:26 -04:00
parent fdd1f4b7f8
commit ef0eb5f7a0
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -4,6 +4,7 @@
## See the file COPYING for copying conditions.
set -e
shopt -s nullglob
run_cmd() {
echo "INFO: normal executing : $@"
@ -27,8 +28,6 @@ default_variables_set() {
selinux=0
}
shopt -s nullglob
parse_configuration() {
## Allows for disabling the whitelist.
for i in /usr/local/etc/hide-hardware-info.d/*.conf /etc/hide-hardware-info.d/*.conf ; do