]> git.ipfire.org Git - ipfire-2.x.git/commit
static-routes: Fixes bug12763
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 11 Apr 2024 15:01:01 +0000 (17:01 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 19 Apr 2024 18:39:56 +0000 (18:39 +0000)
commite33ee46e621eb6967c954a9d3b4683880e372579
tree18f77af5b4d4039df472951dc2a0af01da1f4b5c
parent87a97a431915849cf6d19e1b7137b4fb0b6dd91d
static-routes: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot.
- Tested on my vm system and confirmed that the fix in ipsec-interfaces stops the "FIB
   table does not exist" and "RTNETLINK answers: no such file or directory" messages during
   boot.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/static-routes