]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
static-routing: Add "proto static" to static kernel routes.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2011 13:39:57 +0000 (15:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2011 13:39:57 +0000 (15:39 +0200)
src/initscripts/init.d/static-routes

index 970083c0d2d00177f1014f0dd5e95b4d51fbd2bd..940a7b45c7e4e8555111448b112e42d268a1ba5f 100644 (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}
 }