[2/9] Revert "static-routes: Fixes bug12763"
Commit Message
This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
src/initscripts/system/static-routes | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
On 10/05/2024 14:02, Michael Tremer wrote:
> This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579.
>
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
> 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/static-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
>
> - 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}
> }
>
@@ -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}
}