From: <abe...@us...> - 2014-11-03 17:19:30
|
Revision: 6795 http://sourceforge.net/p/astlinux/code/6795 Author: abelbeck Date: 2014-11-03 17:19:26 +0000 (Mon, 03 Nov 2014) Log Message: ----------- network, remove the old FAILTIME variable, superseded by the more configurable WAN_FAILOVER_* options Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/etc/init.d/network branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf Modified: branches/1.0/project/astlinux/target_skeleton/etc/init.d/network =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/init.d/network 2014-11-03 17:11:29 UTC (rev 6794) +++ branches/1.0/project/astlinux/target_skeleton/etc/init.d/network 2014-11-03 17:19:26 UTC (rev 6795) @@ -491,15 +491,6 @@ #end static ip on 2nd if fi - if [ -n "$EXTGW" -a -n "$EXT2GW" ]; then - if [ -n "$FAILTIME" ]; then - TIME=$FAILTIME - else - TIME=10 - fi - echo $TIME > /proc/sys/net/ipv4/route/gc_timeout - fi - #DHCP if [ -n "$EXTIF" -a -z "$EXTIP" ] && ! isextppp extif; then udhcpc -b -T2 -t6 -S -s /etc/udhcpc.script -H $HOSTNAME -p /var/run/udhcpc-$EXTIF.pid -i $EXTIF Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf =================================================================== --- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-11-03 17:11:29 UTC (rev 6794) +++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-11-03 17:19:26 UTC (rev 6795) @@ -152,11 +152,6 @@ #EXT2IP="192.168.25.2" #EXT2NM="255.255.255.0" #EXT2GW="192.168.25.1" -## -## Internet failover timeout. How long to wait before switching default routes. -## If failover is otherwise setup - EXTIP, EXT2IP, EXT2IF, EXT2GW the default -## will be 10 seconds. You can change that here. -#FAILTIME=10 ## WAN Failover ## Monitor external "targets" to switch between primary and secondary default gateways This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |