static-routing: Add "proto static" to static kernel routes.

This commit is contained in:
Michael Tremer
2011-09-04 15:39:57 +02:00
parent 035f1702ef
commit 5d2c8f5da1

View File

@@ -35,7 +35,7 @@ function create_all_routes() {
continue
fi
ip route add ${network} via ${gateway} table static
ip route add ${network} via ${gateway} table static proto static
done < ${file}
}