Fixor IP comment and logic thanks to vapier
This commit is contained in:
parent
80124a050c
commit
54a8d55926
@ -190,8 +190,10 @@ iproute2_pre_start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
iproute2_post_start() {
|
iproute2_post_start() {
|
||||||
# Kernel may not have tcp built in
|
# Kernel may not have IP built in
|
||||||
[ -e /proc/net/route ] && ip route flush table cache dev "${IFACE}"
|
if [ -e /proc/net/route ]; then
|
||||||
|
ip route flush table cache dev "${IFACE}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
iproute2_post_stop() {
|
iproute2_post_stop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user