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 157562 Details for
Bug 245221
IPMI Fence Agent does not support IPMIv2.0 protocol (aka "lanplus")
[?]
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.
This is my "wrapper script" for the ipmitool command
ipmitool.sh (text/plain), 1.33 KB, created by
Celso K. Webber
on 2007-06-21 18:52:58 UTC
(
hide
)
Description:
This is my "wrapper script" for the ipmitool command
Filename:
MIME Type:
Creator:
Celso K. Webber
Created:
2007-06-21 18:52:58 UTC
Size:
1.33 KB
patch
obsolete
>#!/bin/bash > ># ># Webbertek, Celso K. Webber <celso@webbertek.com.br>, 31/05/2007: ># * "Wrapper" script to call the ipmitool command using the "-I lanplus" ># argument instead of "-I lan". > ># Store arguments to call the real ipmitool command >TMPARGS="" > ># Original ipmitool binary name >IPMITOOL=ipmitool.orig > ># Check if real "ipmitool" binary exists in the same directory if this script >if [ ! -x $(dirname $0)/${IPMITOOL} ]; then > echo "Error: program ${IPMITOOL} does not exists on directory $(dirname $0)!" > exit 1 >fi > ># Take out ipmitool arguments until we find a "-I" >while [ "$1" != "-I" -a "$#" -gt 0 ]; do > # Save current argument in temp buffer > TMPARGS="${TMPARGS} $1" > # Shift arguments to take the next one > shift >done > ># At this point, we either found the "-I" argument, or there are no more ># arguments to check >if [ "$1" == "-I" ]; then > # Save current argument in temp buffer > TMPARGS="${TMPARGS} $1" > # Shift arguments to take the next one > shift > # If the next argument is "lan", we change it to "lanplus" > if [ "$1" == "lan" ]; then > TMPARGS="${TMPARGS} lanplus" > else > TMPARGS="${TMPARGS} $1" > fi > # Shift arguments to take the next one > shift >fi > ># Add the remaining arguments to the temporary buffer >TMPARGS="${TMPARGS} $@" > ># Execute the real ipmitool command using the saved arguments >exec ${IPMITOOL} ${TMPARGS}
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 245221
: 157562 |
157944