mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-09 15:30:45 +07:00
refactoring
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user