From 54a8d559267290f2e1f7e4be210ee511fc0bbb56 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 2 Nov 2007 07:26:51 +0000 Subject: Fixor IP comment and logic thanks to vapier --- net.Linux/iproute2.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net.Linux') diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh index 8357f25..8736e00 100644 --- a/net.Linux/iproute2.sh +++ b/net.Linux/iproute2.sh @@ -190,8 +190,10 @@ iproute2_pre_start() { } iproute2_post_start() { - # Kernel may not have tcp built in - [ -e /proc/net/route ] && ip route flush table cache dev "${IFACE}" + # Kernel may not have IP built in + if [ -e /proc/net/route ]; then + ip route flush table cache dev "${IFACE}" + fi } iproute2_post_stop() { -- cgit v1.2.3