[ofa-general] [PATCH] opensm/scripts: fix sldd.sh paths
Sasha Khapyorsky
sashak at voltaire.com
Thu Jan 24 09:38:47 PST 2008
Fix sldd.sh path in startup script and path to config file.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/scripts/opensmd | 2 +-
opensm/scripts/sldd.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opensm/scripts/opensmd b/opensm/scripts/opensmd
index e5c734e..549e206 100755
--- a/opensm/scripts/opensmd
+++ b/opensm/scripts/opensmd
@@ -43,7 +43,7 @@ prog=/usr/bin/opensm
bin=${prog##*/}
# Handover daemon for updating guid2lid cache file
-sldd_prog=/usr/bin/sldd.sh
+sldd_prog=/usr/sbin/sldd.sh
sldd_bin=${sldd_prog##*/}
sldd_pid_file=/var/run/sldd.pid
diff --git a/opensm/scripts/sldd.sh b/opensm/scripts/sldd.sh
index cfb8953..21f6126 100755
--- a/opensm/scripts/sldd.sh
+++ b/opensm/scripts/sldd.sh
@@ -41,7 +41,7 @@
# config: /etc/opensm.conf
[ -f /etc/sysconfig/opensm.conf ] && CONFIG=/etc/sysconfig/opensm.conf
-[ -f /etc/ofa/opensm.conf ] && CONFIG=/etc/sysconfig/opensm.conf
+[ -f /etc/ofa/opensm.conf ] && CONFIG=/etc/ofa/opensm.conf
SLDD_DEBUG=${SLDD_DEBUG:-0}
--
1.5.4.rc2.60.gb2e62
More information about the general
mailing list