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

(-)a/config/sysconfig.config-network (-2 / +2 lines)
Lines 226-232 IFPLUGD_OPTIONS="-f -I -b" Link Here
226
NETWORKMANAGER=no
226
NETWORKMANAGER=no
227
227
228
## Type:	int
228
## Type:	int
229
## Default:	30
229
## Default:	0
230
#
230
#
231
# When using NetworkManager you may define a timeout to wait for NetworkManager
231
# When using NetworkManager you may define a timeout to wait for NetworkManager
232
# to connect in /etc/init.d/network(-remotefs) script.  Other network services
232
# to connect in /etc/init.d/network(-remotefs) script.  Other network services
Lines 234-240 NETWORKMANAGER=no Link Here
234
# 
234
# 
235
# This variable has no effect if NETWORKMANAGER=no.
235
# This variable has no effect if NETWORKMANAGER=no.
236
#
236
#
237
NM_ONLINE_TIMEOUT="30"
237
NM_ONLINE_TIMEOUT="0"
238
238
239
## Type:        string
239
## Type:        string
240
## Default:     "dns-resolver dns-bind ntp-runtime nis"
240
## Default:     "dns-resolver dns-bind ntp-runtime nis"
(-)a/sysconfig.spec.in (-19 lines)
Lines 119-131 if [ ${1:-0} -gt 1 ]; then Link Here
119
	if [ ! -f etc/sysconfig/network/scripts/move_shm_sysconfig.sh ] ; then
119
	if [ ! -f etc/sysconfig/network/scripts/move_shm_sysconfig.sh ] ; then
120
		touch etc/sysconfig/network/__move_shm_sysconfig__
120
		touch etc/sysconfig/network/__move_shm_sysconfig__
121
	fi
121
	fi
122
	# set a mark when updating from NM_ONLINE_TIMEOUT=0
123
	eval NM_ONLINE_TIMEOUT='' \
124
		`grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
125
		var/adm/fillup-templates/sysconfig.config-network`
126
	if [ "x$NM_ONLINE_TIMEOUT" = "x0" ] ; then
127
		touch etc/sysconfig/network/__nm_online_timeout__
128
	fi
129
fi
122
fi
130
123
131
%post 
124
%post 
Lines 142-158 fi Link Here
142
#
135
#
143
%{fillup_and_insserv -fY network}
136
%{fillup_and_insserv -fY network}
144
%{fillup_and_insserv -fY network-remotefs}
137
%{fillup_and_insserv -fY network-remotefs}
145
# remove first, we need the new default value
146
sysconfig_remove_and_set network/dhcp DHCLIENT_TIMEOUT
147
# remove first when NM_ONLINE_TIMEOUT was 0 in old template
148
if [ -f etc/sysconfig/network/__nm_online_timeout__ ] ; then
149
	rm -f etc/sysconfig/network/__nm_online_timeout__
150
	eval NM_ONLINE_TIMEOUT='' \
151
		`grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
152
		etc/sysconfig/network/config`
153
	[ "x$NM_ONLINE_TIMEOUT" = "x0" ] && \
154
	sysconfig_remove_and_set network/config NM_ONLINE_TIMEOUT
155
fi
156
%{fillup_only -dns dhcp network network}
138
%{fillup_only -dns dhcp network network}
157
%{fillup_only -dns config network network}
139
%{fillup_only -dns config network network}
158
/sbin/ldconfig
140
/sbin/ldconfig
159
- 

Return to bug 722304