Reviewed-by: Adolf Belka adolf.belka@ipfire.org
On 10/05/2024 14:02, Michael Tremer wrote:
This reverts commit 9c28cd59c1b4f535382e5e4e7952d921af8cc03b.
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
src/initscripts/networking/red | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red index 51bf95a43..beb665e5f 100644 --- a/src/initscripts/networking/red +++ b/src/initscripts/networking/red @@ -129,10 +129,10 @@ case "${1}" in touch /var/ipfire/red/active
# Create route to default gateway
ip route add ${GATEWAY} dev ${DEVICE} >/dev/null 2>&1
ip route add ${GATEWAY} dev ${DEVICE} boot_mesg "Setting up default gateway ${GATEWAY}..."
ip route add default via ${GATEWAY} dev ${DEVICE} >/dev/null 2>&1
ip route add default via ${GATEWAY} dev ${DEVICE} evaluate_retval if [ -d "/sys/class/net/${DEVICE}" ]; then