You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-fabric/opensm/files/opensm-3.3.17-sldd.patch

21 lines
541 B

--- 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}