Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 302642 Details for
Bug 442760
[PATCH] init script - allow waiting for network to start
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
init script patch
nm.diff (text/plain), 1.35 KB, created by
Bill Nottingham
on 2008-04-16 17:14:22 UTC
(
hide
)
Description:
init script patch
Filename:
MIME Type:
Creator:
Bill Nottingham
Created:
2008-04-16 17:14:22 UTC
Size:
1.35 KB
patch
obsolete
>--- NetworkManager 2008-04-05 12:17:55.000000000 -0400 >+++ /home/notting/NetworkManager 2008-04-16 13:10:41.000000000 -0400 >@@ -2,7 +2,7 @@ > # > # NetworkManager: NetworkManager daemon > # >-# chkconfig: - 98 02 >+# chkconfig: - 27 73 > # description: This is a daemon for automatically switching network \ > # connections to the best available connection. > # >@@ -10,7 +10,7 @@ > # pidfile: /var/run/NetworkManager/NetworkManager.pid > # > ### BEGIN INIT INFO >-# Provides: network_manager >+# Provides: network_manager $network > # Required-Start: $local_fs messagebus haldaemon > # Required-Stop: $local_fs messagebus haldaemon > # Default-Start: 3 4 5 >@@ -34,6 +34,9 @@ > # Source function library. > . /etc/rc.d/init.d/functions > >+# Source network configuration >+. /etc/sysconfig/network >+ > # so we can rearrange this easily > processname=NetworkManager > servicename=NetworkManager >@@ -50,6 +53,14 @@ > daemon --check $servicename $processname --pid-file=$pidfile > RETVAL=$? > echo >+ if [ -n "${NETWORKWAIT}" ]; then >+ [ -z "${LINKDELAY}" ] && LINKDELAY=10 >+ echo -n $"Waiting for network..." >+ nm-online -q --timeout=$LINKDELAY || nm-online -q -x --timeout=30 >+ [ "$?" = "0" ] && success "network startup" || failure "network startup" >+ echo >+ [ -n "${NETWORKDELAY}" ] && /bin/sleep ${NETWORKDELAY} >+ fi > [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$servicename > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 442760
: 302642