b7f6de1d8e
Update OBS-URL: https://build.opensuse.org/request/show/282279 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmiutil?expand=0&rev=29
150 lines
4.1 KiB
Diff
150 lines
4.1 KiB
Diff
diff -Ndur ipmiutil-2.9.2/scripts/ipmi_info ipmiutil-2.9.2-fix-bashisms/scripts/ipmi_info
|
|
--- ipmiutil-2.9.2/scripts/ipmi_info 2013-10-09 21:20:02.000000000 +0300
|
|
+++ ipmiutil-2.9.2-fix-bashisms/scripts/ipmi_info 2014-11-17 06:41:28.838462431 +0200
|
|
@@ -44,7 +44,7 @@
|
|
|
|
start()
|
|
{
|
|
- echo -n $"Starting $name: "
|
|
+ echo -n "Starting $name: "
|
|
echo
|
|
retval=0
|
|
PID=0
|
|
@@ -66,7 +66,7 @@
|
|
|
|
stop()
|
|
{
|
|
- echo -n $"Stopping $name: "
|
|
+ echo -n "Stopping $name: "
|
|
echo
|
|
retval=0
|
|
echo
|
|
@@ -116,7 +116,7 @@
|
|
restart
|
|
;;
|
|
*)
|
|
- echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
+ echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
exit 2
|
|
esac
|
|
|
|
diff -Ndur ipmiutil-2.9.2/scripts/ipmi_port.sh ipmiutil-2.9.2-fix-bashisms/scripts/ipmi_port.sh
|
|
--- ipmiutil-2.9.2/scripts/ipmi_port.sh 2013-10-09 21:20:02.000000000 +0300
|
|
+++ ipmiutil-2.9.2-fix-bashisms/scripts/ipmi_port.sh 2014-11-17 06:41:52.921460802 +0200
|
|
@@ -47,7 +47,7 @@
|
|
|
|
start()
|
|
{
|
|
- echo -n $"Starting $name: "
|
|
+ echo -n "Starting $name: "
|
|
echo
|
|
retval=1
|
|
PID=0
|
|
@@ -93,7 +93,7 @@
|
|
|
|
stop()
|
|
{
|
|
- echo -n $"Stopping $name: "
|
|
+ echo -n "Stopping $name: "
|
|
echo
|
|
retval=1
|
|
if [ -f $lockfile ]; then
|
|
@@ -178,7 +178,7 @@
|
|
restart
|
|
;;
|
|
*)
|
|
- echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
+ echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
exit 2
|
|
esac
|
|
|
|
diff -Ndur ipmiutil-2.9.2/scripts/ipmiutil_asy ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_asy
|
|
--- ipmiutil-2.9.2/scripts/ipmiutil_asy 2013-10-09 21:20:02.000000000 +0300
|
|
+++ ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_asy 2014-11-17 06:42:11.496459545 +0200
|
|
@@ -39,7 +39,7 @@
|
|
|
|
start()
|
|
{
|
|
- echo -n $"Starting $dname: "
|
|
+ echo -n "Starting $dname: "
|
|
driverok=0
|
|
dtype=`ipmiutil cmd -k |grep "IPMI access" |cut -f2 -d'=' |awk '{ print $1 }'`
|
|
if [ "x$dtype" = "xopen" ]; then
|
|
@@ -67,7 +67,7 @@
|
|
|
|
stop()
|
|
{
|
|
- echo -n $"Stopping $dname: "
|
|
+ echo -n "Stopping $dname: "
|
|
retval=1
|
|
if [ -f $lockfile ]; then
|
|
p=`cat $lockfile`
|
|
@@ -148,7 +148,7 @@
|
|
restart
|
|
;;
|
|
*)
|
|
- echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
+ echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
exit 2
|
|
esac
|
|
exit $?
|
|
diff -Ndur ipmiutil-2.9.2/scripts/ipmiutil_evt ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_evt
|
|
--- ipmiutil-2.9.2/scripts/ipmiutil_evt 2013-10-09 21:20:02.000000000 +0300
|
|
+++ ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_evt 2014-11-17 06:42:23.912458706 +0200
|
|
@@ -42,7 +42,7 @@
|
|
|
|
start()
|
|
{
|
|
- echo -n $"Starting $name: "
|
|
+ echo -n "Starting $name: "
|
|
# do not start if in driverless mode
|
|
ipmiutil cmd -k |grep "driverless" >/dev/null 2>&1
|
|
if [ $? -eq 0 ]; then
|
|
@@ -70,7 +70,7 @@
|
|
|
|
stop()
|
|
{
|
|
- echo -n $"Stopping $name: "
|
|
+ echo -n "Stopping $name: "
|
|
retval=1
|
|
if [ -f $lockfile ]; then
|
|
p=`cat $lockfile`
|
|
@@ -151,7 +151,7 @@
|
|
restart
|
|
;;
|
|
*)
|
|
- echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
+ echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
exit 2
|
|
esac
|
|
exit $?
|
|
diff -Ndur ipmiutil-2.9.2/scripts/ipmiutil_wdt ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_wdt
|
|
--- ipmiutil-2.9.2/scripts/ipmiutil_wdt 2013-10-09 21:20:02.000000000 +0300
|
|
+++ ipmiutil-2.9.2-fix-bashisms/scripts/ipmiutil_wdt 2014-11-17 06:42:32.368458133 +0200
|
|
@@ -34,7 +34,7 @@
|
|
# tmpcron2=/tmp/wdtcron2.$$
|
|
|
|
start() {
|
|
- echo -n $"Starting $prog: "
|
|
+ echo -n "Starting $prog: "
|
|
echo
|
|
# do not start if in driverless mode
|
|
ipmiutil cmd -k |grep "driverless" >/dev/null 2>&1
|
|
@@ -73,7 +73,7 @@
|
|
}
|
|
|
|
stop() {
|
|
- echo -n $"Stopping $prog: "
|
|
+ echo -n "Stopping $prog: "
|
|
echo
|
|
# first disable the watchdog
|
|
$prog -d >>$wdtlog
|
|
@@ -141,6 +141,6 @@
|
|
restart
|
|
;;
|
|
*)
|
|
- echo $"Usage: $0 {start|stop|status|restart|reload}"
|
|
+ echo "Usage: $0 {start|stop|status|restart|reload}"
|
|
exit 1
|
|
esac
|