Fixor IP comment and logic thanks to vapier

This commit is contained in:
Roy Marples 2007-11-02 07:26:51 +00:00
parent 80124a050c
commit 54a8d55926

View File

@ -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() {