summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2018-07-27 23:27:15 +0100
committerRobby Workman <rworkman@slackware.com>2018-11-25 19:00:39 -0600
commitb39783acaf7739d459450dea0e7c1094dbf6a4b9 (patch)
tree6907704ed758ab926bf33fe1c79625c56f1f39e8
parentaf0a481ef072d220a58ef6a8da1409fb442fa733 (diff)
downloadslacknetsetup-b39783acaf7739d459450dea0e7c1094dbf6a4b9.tar.xz
Don't unconditionally bring interface up
Signed-off-by: Robby Workman <rworkman@slackware.com>
-rw-r--r--rc.inet13
1 files changed, 0 insertions, 3 deletions
diff --git a/rc.inet1 b/rc.inet1
index acdb710..ae37ff6 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -171,9 +171,6 @@ if_up() {
echo "/etc/rc.d/rc.inet1: /sbin/ip link set dev ${1} mtu ${MTU[$i]}" | $LOGGER
/sbin/ip link set dev ${1} mtu ${MTU[$i]}
fi
- if /sbin/ip link show dev ${1} | grep -wq "state DOWN" ; then
- /sbin/ip link set dev ${1} up # Bring up interface
- fi
if [ -x /etc/rc.d/rc.wireless ]; then
. /etc/rc.d/rc.wireless ${1} start # Initialize any wireless parameters
fi