Remove -B option to opensm on start
We need opensm to not go into the background and act like a daemon for our new launch script, so don't have it do so. Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
39a5c52144
commit
ac2064a1ab
@ -31,14 +31,14 @@ if [ -n "$GUIDS" ]; then
|
|||||||
SUBNET_COUNT=0
|
SUBNET_COUNT=0
|
||||||
for guid in $GUIDS; do
|
for guid in $GUIDS; do
|
||||||
SUBNET_PREFIX=`printf "0xfe800000000000%02d" $SUBNET_COUNT`
|
SUBNET_PREFIX=`printf "0xfe800000000000%02d" $SUBNET_COUNT`
|
||||||
(while true; do $prog -B $prio -g $guid --subnet_prefix $SUBNET_PREFIX; sleep 30; done) &
|
(while true; do $prog $prio -g $guid --subnet_prefix $SUBNET_PREFIX; sleep 30; done) &
|
||||||
let SUBNET_COUNT++
|
let SUBNET_COUNT++
|
||||||
done
|
done
|
||||||
elif [ -n "$CONFIGS" ]; then
|
elif [ -n "$CONFIGS" ]; then
|
||||||
for config in $CONFIGS; do
|
for config in $CONFIGS; do
|
||||||
(while true; do $prog -B $prio -F $config; sleep 30; done) &
|
(while true; do $prog $prio -F $config; sleep 30; done) &
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
(while true; do $prog -B $prio; sleep 30; done) &
|
(while true; do $prog $prio; sleep 30; done) &
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: opensm
|
Name: opensm
|
||||||
Version: 3.3.15
|
Version: 3.3.15
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: OpenIB InfiniBand Subnet Manager and management utilities
|
Summary: OpenIB InfiniBand Subnet Manager and management utilities
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
@ -125,6 +125,9 @@ fi
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 25 2013 Doug Ledford <dledford@redhat.com> - 3.3.15-6
|
||||||
|
- Oops, forgot to remove the -B option to opensm when starting it
|
||||||
|
|
||||||
* Mon Mar 25 2013 Doug Ledford <dledford@redhat.com> - 3.3.15-5
|
* Mon Mar 25 2013 Doug Ledford <dledford@redhat.com> - 3.3.15-5
|
||||||
- Drop the old sysv init script
|
- Drop the old sysv init script
|
||||||
- Fix opensm-launch to restart opensm in a loop. This works around the
|
- Fix opensm-launch to restart opensm in a loop. This works around the
|
||||||
|
Loading…
Reference in New Issue
Block a user