From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/9] Revert "static-routes: Fixes bug12763" Date: Fri, 10 May 2024 12:02:27 +0000 Message-ID: <20240510120234.995049-2-michael.tremer@ipfire.org> In-Reply-To: <20240510120234.995049-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4909937472724941856==" List-Id: --===============4909937472724941856== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579. Signed-off-by: Michael Tremer --- src/initscripts/system/static-routes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/system/static-routes b/src/initscripts/system/st= atic-routes index 9aacc8db5..9029c94db 100644 --- a/src/initscripts/system/static-routes +++ b/src/initscripts/system/static-routes @@ -29,7 +29,7 @@ function init_table() { return fi =20 - ip rule add table static >/dev/null 2>&1 + ip rule add table static } =20 function create_all_routes() { @@ -54,7 +54,7 @@ function create_all_routes() { continue fi =20 - ip route add ${network} via ${gateway} table static proto static >/dev/nul= l 2>&1 + ip route add ${network} via ${gateway} table static proto static done < ${file} } =20 --=20 2.39.2 --===============4909937472724941856==--