summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2018-07-28 01:25:21 +0100
committerRobby Workman <rworkman@slackware.com>2018-11-25 19:03:25 -0600
commit8bbd1ebfac4271051929fa167f57e2a344aa9bc6 (patch)
treecbc6d31a5ce2adc9ba2b4fe0489771cee5f4197c
parent01a266b469db733b92df0a0b8651d68e0aa536f6 (diff)
downloadslacknetsetup-8bbd1ebfac4271051929fa167f57e2a344aa9bc6.tar.xz
Return immediately if interface has no defined config in rc.inet1.conf
Signed-off-by: Robby Workman <rworkman@slackware.com>
-rw-r--r--rc.inet11
1 files changed, 1 insertions, 0 deletions
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"