From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 4/9] ip-up: Fixes bug12763 Date: Thu, 11 Apr 2024 17:01:03 +0200 Message-ID: <20240411150108.21573-4-adolf.belka@ipfire.org> In-Reply-To: <20240411150108.21573-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9192488579004498561==" List-Id: --===============9192488579004498561== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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 if an empty table is accessed. Fixes: Bug#12763 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- src/ppp/ip-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppp/ip-up b/src/ppp/ip-up index 2e636e72d..5f4ee7726 100644 --- a/src/ppp/ip-up +++ b/src/ppp/ip-up @@ -33,7 +33,7 @@ echo -n "$4" > /var/ipfire/red/local-ipaddress echo -n "$5" > /var/ipfire/red/remote-ipaddress touch /var/ipfire/red/active =20 -/sbin/ip route replace default via ${IPREMOTE} dev ppp0 +/sbin/ip route replace default via ${IPREMOTE} dev ppp0 >/dev/null 2>&1 run_subdir ${rc_base}/init.d/networking/red.up/ =20 #Check if gateway has answerd to ping, if not replace with ping.ipfire.org --=20 2.44.0 --===============9192488579004498561==--