summaryrefslogtreecommitdiff
path: root/sys-fabric/opensm/files/opensm-3.3.17-sldd.patch
blob: d7eb3ec24b9b1b6034374182d50ec718065f348c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- opensm-3.3.17/scripts/sldd.sh.in.orig	2013-02-07 11:46:29.000000000 +0400
+++ opensm-3.3.17/scripts/sldd.sh.in	2014-12-27 04:47:24.488636743 +0300
@@ -42,7 +42,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 
-CONFIG=@sysconfdir@/sysconfig/opensm
+CONFIG=@sysconfdir@/conf.d/sldd
 if [ -f $CONFIG ]; then
 	. $CONFIG
 fi
@@ -57,7 +57,7 @@
 
 RCP=${RCP:-/usr/bin/scp}
 RSH=${RSH:-/usr/bin/ssh}
-IFCONFIG=${IFCONFIG:-'/sbin/ifconfig -a'}
+IFCONFIG=${IFCONFIG:-'/bin/ifconfig -a'}
 
 declare -i SLDD_DEBUG
 RESCAN_TIME=${RESCAN_TIME:-60}