]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "static-routes: Fixes bug12763"
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 May 2024 12:02:27 +0000 (12:02 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 19 May 2024 08:00:11 +0000 (10:00 +0200)
This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/static-routes

index 9aacc8db5fb3f6669d6ad8e3456ba911fc8a7d53..9029c94dbf4c64526cb1948f9b5acc5b819360af 100644 (file)
@@ -29,7 +29,7 @@ function init_table() {
                return
        fi
 
-       ip rule add table static >/dev/null 2>&1
+       ip rule add table static
 }
 
 function create_all_routes() {
@@ -54,7 +54,7 @@ function create_all_routes() {
                        continue
                fi
 
-               ip route add ${network} via ${gateway} table static proto static >/dev/null 2>&1
+               ip route add ${network} via ${gateway} table static proto static
        done < ${file}
 }