aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/iproute2.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-02 07:26:51 +0000
committerRoy Marples <roy@marples.name>2007-11-02 07:26:51 +0000
commit54a8d559267290f2e1f7e4be210ee511fc0bbb56 (patch)
tree2632f3ff1fa68bfc00a94256757133cbe9e4b1ab /net.Linux/iproute2.sh
parent80124a050c626584f19fbac917276946224bcde7 (diff)
Fixor IP comment and logic thanks to vapier
Diffstat (limited to 'net.Linux/iproute2.sh')
-rw-r--r--net.Linux/iproute2.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh
index 8357f259..8736e009 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() {