From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [Patch RFC 07/15] network startup: Reload routing informations for every interface Date: Tue, 23 May 2023 19:23:07 +0200 Message-ID: <20230523172314.7826-8-jonatan.schlag@ipfire.org> In-Reply-To: <20230523172314.7826-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1261256205096334271==" List-Id: --===============1261256205096334271== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This reload can and needs to be done when an interface is started. Not only when all interfaces are started. Signed-off-by: Jonatan Schlag --- src/initscripts/networking/any | 2 ++ src/initscripts/system/network | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/networking/any b/src/initscripts/networking/any index 6dba5bef9..ec1321ad9 100644 --- a/src/initscripts/networking/any +++ b/src/initscripts/networking/any @@ -109,6 +109,8 @@ case "${1}" in ip addr add ${args} dev ${DEVICE} evaluate_retval fi + + /etc/rc.d/init.d/static-routes reload ;; stop) diff --git a/src/initscripts/system/network b/src/initscripts/system/network index 6a47456f3..b346d487c 100644 --- a/src/initscripts/system/network +++ b/src/initscripts/system/network @@ -66,8 +66,6 @@ case "${DO}" in /etc/rc.d/init.d/networking/red start fi - /etc/rc.d/init.d/static-routes start - boot_mesg "Mounting network file systems..." mount -a -O _netdev evaluate_retval -- 2.30.2 --===============1261256205096334271==--