/[baselayout]/trunk/net.Linux/iproute2.sh
Gentoo

Diff of /trunk/net.Linux/iproute2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3086 Revision 3087
188 188
189 return 0 189 return 0
190} 190}
191 191
192iproute2_post_start() { 192iproute2_post_start() {
193 # Kernel may not have tcp built in 193 # Kernel may not have IP built in
194 [ -e /proc/net/route ] && ip route flush table cache dev "${IFACE}" 194 if [ -e /proc/net/route ]; then
195 ip route flush table cache dev "${IFACE}"
196 fi
195} 197}
196 198
197iproute2_post_stop() { 199iproute2_post_stop() {
198 # Don't delete sit0 as it's a special tunnel 200 # Don't delete sit0 as it's a special tunnel
199 if [ "${IFACE}" != "sit0" ] ; then 201 if [ "${IFACE}" != "sit0" ] ; then

Legend:
Removed from v.3086  
changed lines
  Added in v.3087

  ViewVC Help
Powered by ViewVC 1.1.20