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