Revert "static-routes: Fixes bug12763"

This reverts commit e33ee46e62.

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>
This commit is contained in:
Michael Tremer
2024-05-10 12:02:27 +00:00
committed by Arne Fitzenreiter
parent c522d8109d
commit bafa45ed84

View 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}
}