diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2018-07-27 23:27:15 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-11-25 19:00:39 -0600 |
commit | b39783acaf7739d459450dea0e7c1094dbf6a4b9 (patch) | |
tree | 6907704ed758ab926bf33fe1c79625c56f1f39e8 | |
parent | af0a481ef072d220a58ef6a8da1409fb442fa733 (diff) | |
download | slacknetsetup-b39783acaf7739d459450dea0e7c1094dbf6a4b9.tar.xz |
Don't unconditionally bring interface up
Signed-off-by: Robby Workman <rworkman@slackware.com>
-rw-r--r-- | rc.inet1 | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |