From: Michael Tremer Date: Fri, 10 May 2024 12:02:27 +0000 (+0000) Subject: Revert "static-routes: Fixes bug12763" X-Git-Tag: v2.29-core186~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bafa45ed843d2799136158caf6a31adadf648eb3;p=ipfire-2.x.git Revert "static-routes: Fixes bug12763" This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579. Signed-off-by: Michael Tremer Reviewed-by: Adolf Belka Signed-off-by: Arne Fitzenreiter --- diff --git a/src/initscripts/system/static-routes b/src/initscripts/system/static-routes index 9aacc8db5f..9029c94dbf 100644 --- a/src/initscripts/system/static-routes +++ b/src/initscripts/system/static-routes @@ -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} }