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 601731 Details for
Bug 496861
[RFE] call halt.local from /etc/init.d/halt with parameters
[?]
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]
Changes /etc/init.d/halt to call halt.local with variables used in halt as parameters.
halt-local-args.patch (text/plain), 763 bytes, created by
Václav Pavlín
on 2012-08-01 12:23:54 UTC
(
hide
)
Description:
Changes /etc/init.d/halt to call halt.local with variables used in halt as parameters.
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-08-01 12:23:54 UTC
Size:
763 bytes
patch
obsolete
>diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt >index 8b99079..fb72d2b 100755 >--- a/rc.d/init.d/halt >+++ b/rc.d/init.d/halt >@@ -162,8 +162,11 @@ awk '$2 !~ /\/(|dev|proc|selinux|cgroup|sys)$/ && $1 !~ /(^\/dev\/ram|cgroup)/ { > fstab-decode $UMOUNT -f $line > done > >+HALTARGS="-d" >+[ "$INIT_HALT" != "HALT" ] && HALTARGS="$HALTARGS -p" >+ > if [ -x /sbin/halt.local ]; then >- /sbin/halt.local >+ /sbin/halt.local "$message" "$command" "$HALTARGS" "$kexec_command" > fi > > # Tell init to re-exec itself. >@@ -207,7 +210,5 @@ fi > # First, try kexec. If that fails, fall back to rebooting the old way. > [ -n "$kexec_command" ] && $kexec_command -e -x >& /dev/null > >-HALTARGS="-d" >-[ "$INIT_HALT" != "HALT" ] && HALTARGS="$HALTARGS -p" > > exec $command $HALTARGS
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 496861
:
340527
| 601731