Author: glen Date: Mon Jan 22 19:46:33 2007 New Revision: 8190 Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup-neigh Log: - IPV4_NETWORKING does not change it's value in a loop.
Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup-neigh ============================================================================== --- rc-scripts/trunk/sysconfig/network-scripts/ifup-neigh (original) +++ rc-scripts/trunk/sysconfig/network-scripts/ifup-neigh Mon Jan 22 19:46:33 2007 @@ -5,15 +5,16 @@ # Adds static arps for device $DEVICE # Called from ifup-post. +if is_no "$IPV4_NETWORKING"; then + return +fi + if [ ! -f /etc/sysconfig/static-arp ]; then return fi # note the trailing white space character in the grep gets rid of aliases egrep "^($DEVICE|any)[[:blank:]]" /etc/sysconfig/static-arp | while read iface mac ip state args; do - if is_no "$IPV4_NETWORKING"; then - continue - fi [ -z "$state" ] && state="stale" /sbin/ip neigh replace $ip lladdr $mac nud $state dev $DEVICE done _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit