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

(-)net-scripts-0.4.8/rc.d/init.d/network (-5 lines)
Lines 119-127 Link Here
119
		fi
119
		fi
120
	fi
120
	fi
121
121
122
	oldhotplug=`sysctl kernel.hotplug 2>/dev/null| awk '{print $3}' 2>/dev/null`
123
	sysctl -w "kernel.hotplug=/bin/true" >/dev/null 2>&1
124
125
	ifup_interfaces $interfaces
122
	ifup_interfaces $interfaces
126
	
123
	
127
	# Fireup VLAN interfaces.
124
	# Fireup VLAN interfaces.
Lines 129-136 Link Here
129
	# Otherwise vlans won't work.
126
	# Otherwise vlans won't work.
130
	ifup_interfaces $vlan_interfaces
127
	ifup_interfaces $vlan_interfaces
131
128
132
	sysctl -w "kernel.hotplug=$oldhotplug" >/dev/null 2>&1
133
	
134
	# Add non interface-specific static-routes.
129
	# Add non interface-specific static-routes.
135
	if [ -f /etc/sysconfig/static-routes ]; then
130
	if [ -f /etc/sysconfig/static-routes ]; then
136
		local ignore type dest netmask mask bogus args
131
		local ignore type dest netmask mask bogus args
(-)net-scripts-0.4.8/sysconfig/network-scripts/ifdown (+3 lines)
Lines 32-37 Link Here
32
fi
32
fi
33
33
34
source_config
34
source_config
35
if [ "$IN_HOTPLUG" = "1" ]; then                                                                                                             
36
	is_yes $USE_HOTPLUG || exit 0                                                                                                      
37
fi
35
38
36
. /etc/sysconfig/network-scripts/ifdown-pre $DEVICE
39
. /etc/sysconfig/network-scripts/ifdown-pre $DEVICE
37
40
(-)net-scripts-0.4.8/sysconfig/network-scripts/ifup (+3 lines)
Lines 38-43 Link Here
38
fi
38
fi
39
39
40
source_config
40
source_config
41
if [ "$IN_HOTPLUG" = "1" ]; then
42
	is_yes $USE_HOTPLUG || exit 0
43
fi
41
44
42
if [ "$2" = boot ] && ! is_yes "$ONBOOT"; then
45
if [ "$2" = boot ] && ! is_yes "$ONBOOT"; then
43
	exit 0
46
	exit 0

Return to bug 4332