From d8691f23a5265910a0dde8504f254de5bfb2ba501d81626f43f74c6f59e962ca Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.com>
Date: Tue, 18 Feb 2014 18:33:15 +0000
Subject: [PATCH] Yet another forgotten patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=23
---
 ipmitool_adjust_suse.paths | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 ipmitool_adjust_suse.paths

diff --git a/ipmitool_adjust_suse.paths b/ipmitool_adjust_suse.paths
new file mode 100644
index 0000000..7da01fb
--- /dev/null
+++ b/ipmitool_adjust_suse.paths
@@ -0,0 +1,45 @@
+Index: ipmitool-1.8.13/contrib/bmc-snmp-proxy.service
+===================================================================
+--- ipmitool-1.8.13.orig/contrib/bmc-snmp-proxy.service
++++ ipmitool-1.8.13/contrib/bmc-snmp-proxy.service
+@@ -11,8 +11,8 @@ ConditionPathExists=/var/run/bmc-info
+ Type=oneshot
+ RemainAfterExit=yes
+ 
+-ExecStart=/usr/libexec/bmc-snmp-proxy start
+-ExecStop=/usr/libexec/bmc-snmp-proxy stop
++ExecStart=/usr/sbin/bmc-snmp-proxy start
++ExecStop=/usr/sbin/bmc-snmp-proxy stop
+ 
+ [Install]
+ WantedBy=multi-user.target
+Index: ipmitool-1.8.13/contrib/exchange-bmc-os-info.service.redhat
+===================================================================
+--- ipmitool-1.8.13.orig/contrib/exchange-bmc-os-info.service.redhat
++++ ipmitool-1.8.13/contrib/exchange-bmc-os-info.service.redhat
+@@ -6,8 +6,8 @@ Requires=ipmi.service
+ [Service]
+ Type=oneshot
+ RemainAfterExit=yes
+-ExecStart=/usr/libexec/exchange-bmc-os-info start
+-ExecStop=/usr/libexec/exchange-bmc-os-info stop
++ExecStart=/usr/sbin/exchange-bmc-os-info start
++ExecStop=/usr/sbin/exchange-bmc-os-info stop
+ 
+ [Install]
+ WantedBy=multi-user.target
+Index: ipmitool-1.8.13/contrib/bmc-snmp-proxy
+===================================================================
+--- ipmitool-1.8.13.orig/contrib/bmc-snmp-proxy
++++ ipmitool-1.8.13/contrib/bmc-snmp-proxy
+@@ -14,6 +14,10 @@
+ #
+ # Assumptions:  This script will work only when /etc/snmp/ is writable.
+ #
++# Provides:          bmc-snmp-proxy
++# Required-Start:    ipmi snmp
++# Default-Start:     3 4 5
++# Default-Stop:      0 1 2 6
+ #############################################################################
+ # GLOBALS
+ #############################################################################