And even better

This commit is contained in:
Jack L. Frost 2015-03-05 13:10:58 +03:00
parent 9a36ff7ab0
commit b51c96ba87

View File

@ -1,10 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
[[ -f '/etc/sysctl.conf' ]] && { for i in /etc/sysctl.conf /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
sysctl_config_files+=( '/etc/sysctl.conf' )
}
for i in /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
[[ -f "$i" ]] && { [[ -f "$i" ]] && {
sysctl_config_files+=( "$i" ) sysctl_config_files+=( "$i" )
} }