Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 14518 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]
halt.sh.patch ...continuing... no-tmpfs stuff
halt.sh.patch (text/plain), 1.39 KB, created by
Jean-François Richard
on 2003-07-15 13:40:10 UTC
(
hide
)
Description:
halt.sh.patch ...continuing... no-tmpfs stuff
Filename:
MIME Type:
Creator:
Jean-François Richard
Created:
2003-07-15 13:40:10 UTC
Size:
1.39 KB
patch
obsolete
>--- /etc/init.d/halt.sh.orig 2003-07-11 15:21:04.000000000 -0400 >+++ /etc/init.d/halt.sh 2003-07-11 15:18:16.000000000 -0400 >@@ -6,26 +6,23 @@ > # occure, bug #13599. > umount -at tmpfs &> /dev/null > >-if checkserver >+if [ -n "`swapon -s 2> /dev/null`" ] > then >- if [ -n "`swapon -s 2> /dev/null`" ] >- then >- # We try to deactivate swap first because it seems >- # to need devfsd running to work (this is not done >- # on nodes). TheTERM and KILL stuff will zap >- # devfsd, so... >- ebegin "Deactivating swap" >- swapoff -a &> /dev/null >- eend $? >- fi >+ # We try to deactivate swap first because it seems >+ # to need devfsd running to work (this is not done >+ # on nodes). TheTERM and KILL stuff will zap >+ # devfsd, so... >+ ebegin "Deactivating swap" >+ swapoff -a &> /dev/null >+ eend $? >+fi > >- # We need to properly terminate devfsd to save the permissions >- if [ -n "`ps --no-heading -C 'devfsd'`" ] >- then >- ebegin "Stopping devfsd" >- killall -15 devfsd &> /dev/null >- eend $? >- fi >+# We need to properly terminate devfsd to save the permissions >+if [ -n "`ps --no-heading -C 'devfsd'`" ] >+then >+ ebegin "Stopping devfsd" >+ killall -15 devfsd &> /dev/null >+ eend $? > fi > > ebegin "Sending all processes the TERM signal" >@@ -150,7 +147,7 @@ > eend 1 > sync; sync > [ -f /etc/killpower ] && ups_kill_power >- checkserver && /sbin/sulogin -t 10 /dev/console >+ /sbin/sulogin -t 10 /dev/console > else > eend 0 > 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