Better sysctl script
This commit is contained in:
parent
ac4659f500
commit
9a36ff7ab0
|
@ -4,9 +4,9 @@
|
|||
sysctl_config_files+=( '/etc/sysctl.conf' )
|
||||
}
|
||||
|
||||
for i in /etc/sysctl.d /usr/lib/sysctl.d; do
|
||||
[[ -d "$i" ]] && {
|
||||
sysctl_config_files+=( "$i/"* )
|
||||
for i in /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
|
||||
[[ -f "$i" ]] && {
|
||||
sysctl_config_files+=( "$i" )
|
||||
}
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user