From a8da6aebbbef63b3a5c3196fcbb7c46a3665482c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 18 Oct 2004 17:55:55 +0000 Subject: set link up so ethtool works (#134811) --- sysconfig/network-scripts/ifup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index a238d055..b15445ba 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -172,6 +172,8 @@ if [ -n "${DYNCONFIG}" ]; then DHCPCDARGS="${DHCPCDARGS} -R" fi echo -n $"Determining IP information for ${DEVICE}..." + + ip link set ${REALDEVICE} up if [ -n "$ETHTOOL_OPTS" ] ; then /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS -- cgit v1.2.1