View | Details | Raw Unified | Return to bug 5776
Collapse All | Expand All

(-)net.agent.orig (-2 / +2 lines)
Lines 92-100 Link Here
92
	    # This needs to be done before ifup otherwise ifup will get
92
	    # This needs to be done before ifup otherwise ifup will get
93
	    # confused by the name changed and because iface need to be
93
	    # confused by the name changed and because iface need to be
94
	    # down to change its name.
94
	    # down to change its name.
95
	    if [ -x /usr/sbin/ifrename ] && [ -r /etc/iftab ]; then
95
	    if [ -x /sbin/ifrename ] && [ -r /etc/iftab ]; then
96
		debug_mesg invoke ifrename for $INTERFACE
96
		debug_mesg invoke ifrename for $INTERFACE
97
		NEWNAME=`/usr/sbin/ifrename -i $INTERFACE`
97
		NEWNAME=`/sbin/ifrename -i $INTERFACE 2>/dev/null`
98
		if [ -n "$NEWNAME" ]; then
98
		if [ -n "$NEWNAME" ]; then
99
		    debug_mesg iface $INTERFACE is remapped to $NEWNAME
99
		    debug_mesg iface $INTERFACE is remapped to $NEWNAME
100
		    INTERFACE=$NEWNAME
100
		    INTERFACE=$NEWNAME

Return to bug 5776