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 147346 Details for
Bug 227328
RFE - parallelise scripts that can be parallelised - w/ patch
[?]
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]
Patch to parallelise scripts which can be parellilised
rc.diffs (text/plain), 3.76 KB, created by
Nigel Horne
on 2007-02-05 10:08:30 UTC
(
hide
)
Description:
Patch to parallelise scripts which can be parellilised
Filename:
MIME Type:
Creator:
Nigel Horne
Created:
2007-02-05 10:08:30 UTC
Size:
3.76 KB
patch
obsolete
>*** Orc 2006-09-21 19:53:11.000000000 +0100 >--- rc 2007-02-03 15:40:22.000000000 +0000 >*************** >*** 3,10 **** > # rc This file is responsible for starting/stopping > # services when the runlevel changes. > # >! # Original Author: > # Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> > # > > set -m >--- 3,11 ---- > # rc This file is responsible for starting/stopping > # services when the runlevel changes. > # >! # Original Author: > # Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> >+ # Modified NJH 2/2/07 to parallelise where possible > # > > set -m >*************** >*** 43,91 **** > [ -d /etc/rc$runlevel.d ] || exit 0 > > # First, run the KILL scripts. >! for i in /etc/rc$runlevel.d/K* ; do >! check_runlevel "$i" || continue >! >! # Check if the subsystem is already up. >! subsys=${i#/etc/rc$runlevel.d/K??} >! [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] \ >! || continue >! >! # Bring the subsystem down. >! if LC_ALL=C egrep -q "^..*init.d/functions" $i ; then >! $i stop >! else >! action $"Stopping $subsys: " $i stop > fi > done > > # Now run the START scripts. >! for i in /etc/rc$runlevel.d/S* ; do >! check_runlevel "$i" || continue >! >! # Check if the subsystem is already up. >! subsys=${i#/etc/rc$runlevel.d/S??} >! [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] \ >! && continue >! >! # If we're in confirmation mode, get user confirmation >! if [ -f /var/run/confirm ]; then >! confirm $subsys >! test $? = 1 && continue >! fi >! >! update_boot_stage "$subsys" >! # Bring the subsystem up. >! if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then >! export LC_ALL=C >! exec $i start >! fi >! if LC_ALL=C egrep -q "^..*init.d/functions" $i \ >! || [ "$subsys" = "single" -o "$subsys" = "local" ]; then >! $i start >! else >! action $"Starting $subsys: " $i start > fi > done > rm -f /var/run/confirm > if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then >--- 44,115 ---- > [ -d /etc/rc$runlevel.d ] || exit 0 > > # First, run the KILL scripts. >! # for i in /etc/rc$runlevel.d/K* ; do >! j=00 >! while true; do >! for i in /etc/rc$runlevel.d/K$j*; do >! check_runlevel "$i" || continue >! >! # Check if the subsystem is already down. >! subsys=${i#/etc/rc$runlevel.d/K??} >! [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] \ >! || continue >! >! # Bring the subsystem down. >! if LC_ALL=C egrep -q "^..*init.d/functions" $i ; then >! $i stop >! else >! action $"Stopping $subsys: " $i stop >! fi >! done >! if [ "$j" -eq 99 ]; then >! wait >! break > fi >+ j=`expr $j + 1` >+ j=`printf %02d $j` >+ wait > done > > # Now run the START scripts. >! # for i in /etc/rc$runlevel.d/S* ; do >! j=00 >! while true; do >! for i in /etc/rc$runlevel.d/S$j*; do >! check_runlevel "$i" || continue >! >! # Check if the subsystem is already up. >! subsys=${i#/etc/rc$runlevel.d/S??} >! [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] \ >! && continue >! >! # If we're in confirmation mode, get user confirmation >! if [ -f /var/run/confirm ]; then >! confirm $subsys >! test $? = 1 && continue >! fi >! >! update_boot_stage "$subsys" >! # Bring the subsystem up. >! if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then >! wait >! export LC_ALL=C >! exec $i start >! fi >! if LC_ALL=C egrep -q "^..*init.d/functions" $i \ >! || [ "$subsys" = "single" -o "$subsys" = "local" ]; then >! $i start& >! else >! action $"Starting $subsys: " $i start& >! fi >! done >! if [ "$j" -eq 99 ]; then >! wait >! break > fi >+ j=`expr $j + 1` >+ j=`printf %02d $j` >+ wait > done > rm -f /var/run/confirm > if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
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 227328
: 147346