From 8bbd1ebfac4271051929fa167f57e2a344aa9bc6 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 28 Jul 2018 01:25:21 +0100 Subject: Return immediately if interface has no defined config in rc.inet1.conf Signed-off-by: Robby Workman --- rc.inet1 | 1 + 1 file changed, 1 insertion(+) diff --git a/rc.inet1 b/rc.inet1 index c552016..acb3a2f 100644 --- a/rc.inet1 +++ b/rc.inet1 @@ -263,6 +263,7 @@ if_up() { return else # interface is unconfigured debug_log "${1} interface is not configured in /etc/rc.d/rc.inet1.conf" + return fi else debug_log "${1} is already up, skipping" -- cgit v1.2.3