diff --git a/iptables.init b/iptables.init index 59239ba..542677b 100755 --- a/iptables.init +++ b/iptables.init @@ -150,7 +150,7 @@ load_sysctl() { echo -n $"Loading sysctl settings: " ret=0 for item in $IPTABLES_SYSCTL_LOAD_LIST; do - fgrep $item /etc/sysctl.conf | sysctl -p - >/dev/null + fgrep -hs $item /etc/sysctl.d/* | sysctl -p - >/dev/null let ret+=$?; done [ $ret -eq 0 ] && success || failure