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 833689 Details for
Bug 1039119
ip.sh: monitor_link: add on/off as a valid value
[?]
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]
proposed patch
ra-ip.sh-monitor_link-add-on-off-as-a-valid-value.patch (text/plain), 1.14 KB, created by
Jan Pokorný [poki]
on 2013-12-06 17:23:09 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Jan Pokorný [poki]
Created:
2013-12-06 17:23:09 UTC
Size:
1.14 KB
patch
obsolete
>From 3a3f84b237c878b0be119ccc400fbe46290c8486 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= <jpokorny@redhat.com> >Date: Fri, 6 Dec 2013 18:05:10 +0100 >Subject: [PATCH] ip.sh: monitor_link: add on/off as a valid value >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Admittedly this is just a local adaptation to a wider issue of >0/1-yes/no-on/off (and perhaps enable/disable) schizophrenia >without any attempt of unification/simplification. > >Signed-off-by: Jan Pokorný <jpokorny@redhat.com> >--- > rgmanager/src/resources/ip.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/rgmanager/src/resources/ip.sh b/rgmanager/src/resources/ip.sh >index 8686f02..8240772 100755 >--- a/rgmanager/src/resources/ip.sh >+++ b/rgmanager/src/resources/ip.sh >@@ -926,7 +926,8 @@ if [ -z "$OCF_CHECK_LEVEL" ]; then > fi > > if [ "${OCF_RESKEY_monitor_link}" = "no" ] || >- [ "${OCF_RESKEY_monitor_link}" = "0" ]; then >+ [ "${OCF_RESKEY_monitor_link}" = "0" ] || >+ [ "${OCF_RESKEY_monitor_link}" = "off" ]; then > OCF_RESKEY_monitor_link="no" > else > OCF_RESKEY_monitor_link="yes" >-- >1.8.1.4 >
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 1039119
: 833689