Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 14517 Details for
Bug 4151
Clustering enhancements for Gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
runscript.sh.patch for the new no-tmpfs solution
runscript.sh.patch (text/plain), 2.31 KB, created by
Jean-François Richard
on 2003-07-15 13:39:37 UTC
(
hide
)
Description:
runscript.sh.patch for the new no-tmpfs solution
Filename:
MIME Type:
Creator:
Jean-François Richard
Created:
2003-07-15 13:39:37 UTC
Size:
2.31 KB
patch
obsolete
>--- /sbin/runscript.sh.orig 2003-07-07 15:19:08.000000000 -0400 >+++ /sbin/runscript.sh 2003-07-11 12:12:52.000000000 -0400 >@@ -46,15 +46,16 @@ > # configuration, if the system administrator chose to put it > # there (if it exists). > >-[ -e /etc/conf.d/basic ] && source /etc/conf.d/basic >+[ -e `add_suffix /etc/conf.d/basic` ] && source `add_suffix /etc/conf.d/basic` > >-[ -e "/etc/conf.d/${myservice}" ] && source "/etc/conf.d/${myservice}" >+[ -e `add_suffix "/etc/conf.d/${myservice}"` ] && \ >+ source `add_suffix "/etc/conf.d/${myservice}"` > >-[ -e /etc/conf.d/net ] && \ >+[ -e `add_suffix /etc/conf.d/net` ] && \ > [ "${myservice%%.*}" = "net" ] && \ >-[ "${myservice##*.}" != "${myservice}" ] && source /etc/conf.d/net >+[ "${myservice##*.}" != "${myservice}" ] && source `add_suffix /etc/conf.d/net` > >-[ -e /etc/rc.conf ] && source /etc/rc.conf >+[ -e `add_suffix /etc/rc.conf` ] && source `add_suffix /etc/rc.conf` > > > usage() { >@@ -112,7 +113,7 @@ > # Remove symlink to prevent recursion > mark_service_stopped "${myservice}" > >- if in_runlevel "${myservice}" "boot" && \ >+ if in_runlevel "${myservice}" "${BOOTLEVEL}" && \ > [ "${SOFTLEVEL}" != "reboot" -a "${SOFTLEVEL}" != "shutdown" -a \ > "${SOFTLEVEL}" != "single" ] > then >@@ -124,7 +125,7 @@ > if [ "${NETSERVICE}" = "yes" ] > then > # A net.* service >- if in_runlevel "${myservice}" "boot" || \ >+ if in_runlevel "${myservice}" "${BOOTLEVEL}" || \ > in_runlevel "${myservice}" "${mylevel}" > then > local netcount="$(ls -1 "${svcdir}"/started/net.* 2> /dev/null | \ >@@ -257,7 +258,7 @@ > do > if [ "${x}" = "net" -a "${NETSERVICE}" != "yes" ] > then >- local netservices="$(dolisting "/etc/runlevels/boot/net.*") \ >+ local netservices="$(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*") \ > $(dolisting "/etc/runlevels/${mylevel}/net.*")" > > for y in ${netservices} >@@ -328,7 +329,7 @@ > # Remove link if service didn't start; but only if we're not booting > # if we're booting, we need to continue and do our best to get the > # system up. >- if [ "${retval}" -ne 0 -a "${SOFTLEVEL}" != "boot" ] >+ if [ "${retval}" -ne 0 -a "${SOFTLEVEL}" != "${BOOTLEVEL}" ] > then > mark_service_stopped "${myservice}" > fi
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 Raw
Actions:
View
Attachments on
bug 4151
:
1782
|
1783
|
1784
|
1785
|
5980
|
13908
|
13909
|
13910
|
13911
|
14516
| 14517 |
14518
|
14519